Error after compilation in Magento - php

I am getting an error after compilation. I am using Magento 1.9.0.1.
My website was running too slow so I have complied but after compilation my website (frontend as well as backend) has down and showing the same error. Please help me to rectify the same.
Error: Fatal error: require_once(): Failed opening required '/home/ecomventures/public_html/demo/includes/src/../lib/vendor/autoload.php' (include_path='/home/ecomventures/public_html/demo/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/ecomventures/public_html/demo/includes/src/Fontis_Australia_Model_Observer.php on line 23

Navigate to includes/config.php in your root directory where your Magento files are located.
Open that up and change:
define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
to
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
That will allow you to see your site again without the fatal errors.

Related

PHP Installed in IIS, but showing error while running codeigniter

I have installed PHP and MySQL on IIS Server. It's giving this error.
Warning: include(D:***\application\views\errors\html\error_php.php): Failed to open stream: No such file or directory in D:\CANONICA\system\core\Exceptions.php on line 268
Warning: include(): Failed opening 'D:***\application\views\errors\html\error_php.php' for inclusion (include_path='.;C:\php\pear') in D:\CANONICA\system\core\Exceptions.php on line 268
Tried enabling all extensions also.
Installed PHP version 8.0
Database Getting connected and getting inserted also, but the above warnings are showing at the top of the page.
Tried with the empty controller, then also showing the same. anybody of you knows this to sort out?
If setting the permission in IIS publisher, then it will work.
When we are setting the domain inside IIS, grant all required permissions. then this error will not show.

Wordpress - fatal error wp-widget.php

I have error on my website: lukas-tv.pl
I've reinstalled wordpress and still the same:
Warning: require(/home/keramxd/domains/lukas-tv.pl/public_html/wp-includes/class-wp-widget.php): failed to open stream: Success in /home/keramxd/domains/lukas-tv.pl/public_html/wp-settings.php on line 217
Fatal error: require(): Failed opening required '/home/keramxd/domains/lukas-tv.pl/public_html/wp-includes/class-wp-widget.php' (include_path='.:/usr/local/php71/lib/php/') in /home/keramxd/domains/lukas-tv.pl/public_html/wp-settings.php on line 217
There are many possibilities :
You update your wordpress site and one of your plugins is calling a deprecated file. If so, try to disable all of your plugins. (Obviously here, this file is not deprecated, but it is a general thing to do).
The site directories don't have correct permissions. If so, do a chmod -Rf 755 on the site root.
Your installation is corrupted and you should reinstall Wordpress.

Browsing to phpMyAdmin Fatal Error: Failed opening Message.class.php

Today when I turned on my XAMPP I started Apache and MySQL. When I browsed to localhost my site worked.
But when I visited localhost/phpmyadmin I got this error in my browser:
Warning: require_once(./libraries/Message.class.php): failed to open stream: No such file or directory in G:\xampp\phpMyAdmin\libraries\Error.class.php on line 16`page
Fatal error: require_once(): Failed opening required './libraries/Message.class.php' (include_path='G:\xampp\php\PEAR') in G:\xampp\phpMyAdmin\libraries\Error.class.php on line 16
I can't start phpMyAdmin, but Apache is working properly. Does anybody know what the problem is?
By the comments:
Your phpmyadmin install is corrupted since one file is missing, try to download this file for your specific version of phpmyadmin.
Or (recommended option) download the entire phpmyadmin new version at https://github.com/phpmyadmin/phpmyadmin

Propel-gen fatal error required file not found

I'm new to Propel. A friend of mine had experience with it and recommended it to me but I cannot get it to generate for some reason. I already have a project generated with Propel. I'm trying to generate this project again to check if my installation is correct.
The error I'm encountering is:
[PHP Error] require_once(/usr/share/php/data/propel_generator/lib/task/../../stubs/functions.php): failed to open stream: No such file or directory [line 12 of /usr/share/php/data/propel_generator/lib/task/AbstractPropelTask.php]
PHP Fatal error: require_once(): Failed opening required '/usr/share/php/data/propel_generator/lib/task/../../stubs/functions.php' (include_path='/usr/share/php/data/propel_generator/lib:/home/casper/Desktop/*/vendor/propel/propel1:/usr/share/php/../classes:.:/usr/share/php:/usr/share/pear') in /usr/share/php/data/propel_generator/lib/task/AbstractPropelTask.php on line 12
(folder contains domain of the website, replaced with *)
I suppose the error is it is trying to include:
/usr/share/php/data/propel_generator/lib/task/../../stubs/functions.php
While it should be trying to include:
/home/casper/Desktop/*/vendor/propel/propel1/runtime/stubs/functions.php
Any help would be greatly appreciated.
(Full result of propel-gen: http://pastebin.com/raw.php?i=hzp4caws)
*I am running Ubuntu 14.10

500 Internal server error in kunena

I am using Joomla 1.5.2 and the Kunena Forum Component,
When I click on the Kunena forum in the back end I get a 500 Internal server error. The full error is as shown below.
Fatal Error: require_once() [function.require]:
Failed opening required '/home/example/public_html/administrator/components/com_kunena/install/version.php'
(include_path='.:/usr/lib/php:/usr/local/lib/php') in components/com_kunena/admin.kunena.php on line 46
The error was detected in the Kunena Component.
Could anyone help me to resolve?
This is happened because of not proper installing. You may uninstall the component and install it again,. It may solves your problem.

Categories