I recently picked up a project from a client to improve his website. It's joomla website unfortunately and I don't know anything about Joomla, only have wordpress experience.
Now I finally got the site to work on localhost, the problem is that it's just error blocks everywhere, and I really hope some of the smart people on this site can help me.
And it's joomla 1.6 as far as I can see, the way I see that is in the readme.txt file it mentiones 1.6 repeatedly.
I get this error:
Warning: include() [function.include]: Filename cannot be empty in C:\wamp\www\fikile\templates\yoo_quantum\html\mod_custom\default.php on line 12
on this code:
include($warp['path']->path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));
and then the following error:
Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\fikile\templates\yoo_quantum\html\mod_search\default.php on line 12
on these two lines of code:
include($warp['path']->path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));
and
include($warp['path']->path('layouts:'.preg_replace('/'.preg_quote($base, '/').'/', '', __FILE__, 1)));
Please help, it seems the all the errors are related to the same kind of problem, but I don't have any clue what that problem is.
Thanks in advance for all your help.
Setting Site -> Global Configuration -> Server -> Error Reporting to "System Default" might help, if it's not set that way already.
Related
After an automatic update to my WordPress installation, my website is display this error rather than loading.
Deprecated: File wp-db.php is deprecated since version 6.1.0! Use wp-includes/class-wpdb.php instead. in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5595
Warning: require(/home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/class-wp-dependencies.php): failed to open stream: No such file or directory in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/script-loader.php on line 23
Fatal error: require(): Failed opening required '/home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/class-wp-dependencies.php' (include_path='.:/usr/share/pear/') in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/script-loader.php on line 23
Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5835
Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5835
There has been a critical error on this website.
Can someone help me understand this error, and provide me a solution or some hints so that I can figure a fix for this.
I also had the same problem currently. So here's how I fixed it.
Go to your Website's App Installer > Wordpress > and find something like this
https://i.stack.imgur.com/xvhm0.png
Click the one in the blue box i drew at the right (Wordpress Manager)
Then, there you can update wordpress
Hope it helped!
i solved it just by updating all plugins, idk why it worked but you can give it a try.
I am working on a Joomla site, and just recently updated PHP to 7.2, but my site started throwing errors. I have also updated Joomla to the latest version, but errors still appear. I'm not good in PHP and don't know how to fix it.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Color has a deprecated constructor in /public_html/templates/jf_social/features/color.php on line 11
Warning: require_once(/public_html/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /public_html/templates/jf_social/error.php on line 52
Fatal error: require_once(): Failed opening required '/public_html/libraries/joomla/document/html/renderer/head.php' (include_path='.:/php:/opt/cpanel/ea-php73/root/usr/share/pear') in /public_html/templates/jf_social/error.php on line 52
I think error comes from my Joomla template, I am using this one https://www.joomforest.com/joomla/templates/jf-social
I can't receive support from that template developers, because my subscription is expired, and changing the template will take a lot of time for me,
can you please anyone advise how to fix it?
Thank you very much!
Try to delete the line 52
require_once(/public_html/libraries/joomla/document/html/renderer/head.php)
from the File
/public_html/templates/jf_social/error.php
The renderer/head.php doesnt be supported any more in your joomla version. If there are no more errors, everything is fine, if not your template is not supported any more.
Then go to the file
/public_html/templates/jf_social/features/color.php
and edit the line
function Color($hex){
to
function __construct($hex){
I recently uninstalled the plugin SEO Facebook Comments
Since then when I click on add new plugin I get this error,
Warning: require_once(D:\Dropbox\htdocs\bcu/wp-admin/includes/class-wp-plugin-install-list-table.php): failed to open stream: No such file or directory in D:\Dropbox\htdocs\bcu\wp-admin\includes\list-table.php on line 42
Fatal error: require_once(): Failed opening required 'D:\Dropbox\htdocs\bcu/wp-admin/includes/class-wp-plugin-install-list-table.php' (include_path='D:\Dropbox\htdocs\bcu\wp-content\plugins\google-analyticator\google-api-php-client\src;.;D:\xampp\php\PEAR') in D:\Dropbox\htdocs\bcu\wp-admin\includes\list-table.php on line 42
I've looked for this error on google and this site although I cannot seem to find anyone else with this error?
Can anyone help me get past this?
I understand it may be a explicit PHP error but I am not too sure on how to fix it,
The error is within another plugin that you have installed.
The second line shows the actual crash
Fatal error: require_once(): Failed opening required 'D:\Dropbox\htdocs\bcu/wp-admin/includes/class-wp-plugin-install-list-table.php' (include_path='D:\Dropbox\htdocs\bcu\wp-content\plugins\google-analyticator\google-api-php-client\src;.;D:\xampp\php\PEAR') in D:\Dropbox\htdocs\bcu\wp-admin\includes\list-table.php on line 42
The plugin is named google analyticator and there is a problem with getting data by the looks of things.
Try de-activating the plugin and seeing if you can then add plugins after.
If that is the problem, try uninstalling the plugin, downloading the latest version and then installing that. If there is still a problem with that plugin, then you will have to report it to the creators and look for an alternative.
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.
I have a problem which suddenly appeared on my site...
It seems like a problem with php version on my hosting but don't know how to fix it and could use any help...
My site runs on J 1.5.16 (I know it's not up to date...) and yesterday was running just fine.
the error is:
Warning: require(/templates/xxx/gk_suckerfish.php) [function.require]: failed to open stream: No such file or directory
in /home/xxx/public_html/templates/my_template/index.php on line 22
Fatal error: require() [function.require]: Failed opening required '/templates/my_template/gk_suckerfish.php' (include_path='.:/usr/lib/php:/usr/local/lib/php')
in /home/xxx/public_html/templates/my_template/index.php on line 22
Thanks!
I have found a solution!
It seems that somehow the legacy plugin was disabled, I have enabled the plugin system-legacy and the site works fine again!
Now I really have to work on upgrading the website to at least j 2.5
P.S. The real problem was with j 1.5.17. which has serious issues with auto disabling the system-legacy plugin. I have updated the site to 1.5.26. and do not have this problem anymore!
Thank you all,
Best regards!