just copied my joomla site folder to godaddy domain and when i visit the home page i get this error
Fatal error: Call to a member function getDefault() on a non-object in /home/content/88/8216088/html/public_html/includes/router.php on line 123
any help ?
After some Googling, I've found a similar thread at http://forum.joomla.org/viewtopic.php?p=2441892. Since this sounds like a bug, I don't really think we will be able to solve it here.
The best thing you can do now is to try to help Joomla! developers with reporting the issue and following their instructions for debugging and solving it.
Related
Code Wizards,
I currently have a website that uses wordpress, and recently had some malware problems. I deleted some files without thinking what they did. While trying to restore the site after getting internal sever errors, I soon started to get errors similar to the one below. However I'am stuck on this one, on what it means/wants me to do.
ß Fatal error: Cannot redeclare get_header() (previously declared in /hermes/bosnaweb10a/b2702/ipg.cjhgraphicdesigncom/wp/wp-includes/general-template.php:21) in /hermes/bosnaweb10a/b2702/ipg.cjhgraphicdesigncom/wp/wp-includes/link-template.php on line 43
I would really appreciate any knowledge on this, my php skills are not the best.
Thank you!
I have a site in drupal it was working fine, suddenly it is not running.I am getting following
error message:
The file could not be created.
The file could not be created.
The website encountered an unexpected error. Please try again later.
If anyone has experienced a similar issue I'd love to know how you fixed it!
Thanks much in advance!
I'm attempting to troubleshoot a custom module I'm working on. The website seems to work fine with no noticeable or logged errors. When I enable Magento developer mode I get a white screen. This points towards PHP errors.
When I check my server error logs I'm getting the following error:
PHP Fatal error: Class 'Mage' not found in /var/www/index.php on line 41
I'm not exactly sure what to do? Googling hasn't seemed to help much. I'm only getting this error in developer mode.
What version of Magento that you are using? It seems your index.php has been changed.
The best way to debug this, you can:
Compare your files to the freshly downloaded Magento code.
Check index.php on line 41, if there's code calling 'Mage' class
Just FYI, if the code exists and you need it. You can move the code after this code (line 68 on Community 1.8.1)
require_once $mageFilename;
Hope this help.
Try by adding the following line inside index.php at the beginning file.
$_SERVER['MAGE_MODE'] = 'developer';
Hope you will see the error message.
In codeigniter i have started one property related project for my client.
I am getting an error
Fatal error: Class 'CI_Controller' not found in H:\php2\htdocs\property\system\core\CodeIgniter.php on line 233 after i have complete some development.
I have really search it for many time in google and in stackoverflow but still didn't get solved.
Thanks in advance,
Well, m not sure but i guess it can happen because of changes in database settings.
codeigniter sometimes show this very weird behaviour that giving this fatal error "CI_Controller" not found even there's nothing wrong with the core files.
so- try debugging like this-
1)check your database seetings located at config/database.php
2)If it does'nt works, re-uploading the system files.
I hope this helps.
Check your database config in application/config/database.php it's one of the major time consuming error message I faced with CI. Because the error message was simply misleading. So, check the database config first.
I attempted to install a wp-ecommerce plugin, it gave me this fatal error and now it only shows the fatal error message when I try to access my wp-admin.
Fatal error: Cannot redeclare class wpsc_gateways in /home4/stickdog/public_html/wp-content/plugins/wp-e-commerce/wpsc-components/merchant-core-v2/classes/wpsc-gateways.php on line 6
If I can access my file manager and I just delete the plugin will it solve my problem? I would rather use the plugin but if it won't work its ok. Thanks for your help.
From a programming perspective it seems like the PHP class wpsc_gateways is being redeclared in the coding. But since this is a pre-packaged plug-in that seems odd. Perhaps sloppy coding on the part of the original author. If you delete the plugin the problem will be solved. But maybe the plug-in was installed twice by accident? Look at the contents if your /home4/stickdog/public_html/wp-content/plugins/ to see if that might have happened.