Magento blank page - php

[20-Feb-2015 17:45:02 Europe/Berlin] PHP Fatal error: Class 'Varien_Autoload' not found in /home/vzvutpbd/public_html/app/Mage.php on line 53
[20-Feb-2015 17:46:32 Europe/Berlin] PHP Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/vzvutpbd/public_html/app/Mage.php on line 49
[20-Feb-2015 17:46:32 Europe/Berlin] PHP Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/php4/lib/php:/usr/local/php4/lib/php:/usr/lib/php:/usr/local/lib/php:/home/vzvutpbd/php') in /home/vzvutpbd/public_html/app/Mage.php on line 49

Ensure that all files listed are there & have appropriate read permissions.
Magento - Wiki - Resetting File Permissions
This should resolve your issues, granted the files are indeed there.

Related

Warning and Fatal Error on Wordpress Website with Woocommerce

I am getting some weird errors on my wordpress website today even though I haven't installed/updated any plugin etc. So far I have tried disabling all the plugins, changing themes and even checked permission for wordpress folders and files.
Everything looks good. I have even updated PHP version for my website from 5.6 to 7.0 and increased the update file limit from 8MB to 16 MB as suggested on wordpress but nothing has worked. These are the following errors that I am getting.
On My-Admin Page
careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php): failed to open stream: Permission denied in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: include(): Failed opening
'/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php'
for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
On Manage Themes Page in My Admin
Warning:
include(/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php): failed to open stream: Permission denied in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: include(): Failed opening
'/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php'
for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: An unexpected error occurred. Something may be wrong with
WordPress.org or this server’s configuration. If you continue to have
problems, please try the support forums. (WordPress could not
establish a secure connection to WordPress.org. Please contact your
server administrator.) in
/home/careeing/public_html/oldbookdepot.in/wp-includes/update.php on
line 499
On the home page of website
Warning:
include(/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php): failed to open stream: Permission denied in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Warning: include(): Failed opening
'/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php'
for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in
/home/careeing/public_html/oldbookdepot.in/wp-settings.php on line 425
Fatal error: Uncaught Error: Call to undefined function
twentyfourteen_has_featured_posts() in
/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/page.php:19
Stack trace: #0
/home/careeing/public_html/oldbookdepot.in/wp-includes/template-loader.php(74):
include() #1
/home/careeing/public_html/oldbookdepot.in/wp-blog-header.php(19):
require_once('/home/careeing/...') #2
/home/careeing/public_html/oldbookdepot.in/index.php(17):
require('/home/careeing/...') #3 {main} thrown in
/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/page.php
on line 19

Errors occurred during magento installation

I'm trying to install magento 1.x on my centos machine. After dowloading and extracting magento i faced this errrors
Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/xxxx/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/username/php') in /home/xxxx/app/Mage.php on line 50
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/xxxx/app/Mage.php on line 51
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/username/php') in /home/xxxx/app/Mage.php on line 51
Fatal error: Class 'Varien_Autoload' not found in /xxxx/app/Mage.php on line 54
I tried to run php shell/compiler.php compile the the errors disappeared and the installation page appeared but without any next or back buttons.
How can i fix this issue?
Make sure on the new server , you have permissions to open and rewrite files. some mangento extensions require full permissions before installations.

Magento URl error with PHP

I installed fresh magento 1.9.2.2. While installing and after it instaled, whenever i try my domain url the same error have been coming like shown below.
Warning: include_once(Mage/Core/functions.php): failed to open stream: No such file or directory in /home/website/public_html/app/Mage.php on line 50
Warning: include_once(): Failed opening 'Mage/Core/functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/website/php') in /home/website/public_html/app/Mage.php on line 50
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /home/website/public_html/app/Mage.php on line 51
Warning: include_once(): Failed opening 'Varien/Autoload.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/website/php') in /home/website/public_html/app/Mage.php on line 51
Fatal error: Class 'Varien_Autoload' not found in /home/website/public_html/app/Mage.php on line 54
So I used
http://xxx.xxx.xxx.xxx [my ip address]/~website/
then in installtion I changed my path to my domain name. Its not working.
Anyone know any solution. Please help me.
I think that your problem caused by the .htaccess file. Try to rename it to test this idea or check rewrite/redirect rules.

Trying to get drupal's Code Sniffer working with Sublime Text 2, what am I doing wrong?

I followed this tutorial, but when I hit cmd-B in Sublime, I get this error:
Warning: include_once(PHP/CodeSniffer/CLI.php): failed to open stream: No such file or directory in /usr/local/bin/phpcs on line 31
Warning: include_once(): Failed opening 'PHP/CodeSniffer/CLI.php' for inclusion (include_path='.:') in /usr/local/bin/phpcs on line 31
Fatal error: Class 'PHP_CodeSniffer_CLI' not found in /usr/local/bin/phpcs on line 34
I'm just working with general PHP files, not in MAMP or anything, and I just want to check if they follow the drupal coding standards. What's going wrong?

pChart - running scripts as www-data doesn't work

So I'm having trouble running PHP scripts for pChart. Running them as the user who created them works fine, but if I sudo to www-data, I get these errors:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d
/mcrypt.ini on line 1 in Unknown on line 0
PHP Warning: include(/usr/lib/pchart/class/pDraw.class.php): failed to open stream: Permission denied in /usr/share/phpmyadmin/test.php on line 4
PHP Warning: include(): Failed opening '/usr/lib/pchart/class/pDraw.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/phpmyadmin/test.php on line 4
PHP Warning: include(/usr/lib/pchart/class/pImage.class.php): failed to open stream: Permission denied in /usr/share/phpmyadmin/test.php on line 5
PHP Warning: include(): Failed opening '/usr/lib/pchart/class/pImage.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/phpmyadmin/test.php on line 5
PHP Warning: include(/usr/lib/pchart/class/pData.class.php): failed to open stream: Permission denied in /usr/share/phpmyadmin/test.php on line 6
PHP Warning: include(): Failed opening '/usr/lib/pchart/class/pData.class.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/phpmyadmin/test.php on line 6
PHP Fatal error: Class 'pData' not found in /usr/share/phpmyadmin/test.php on line 10
Does anyone have any idea what permissions or groups I'd need to change to get this working? I've tried changing everything mentioned in the output above to 777 but it's still happening.
Ok, it was permissions, though it's not clear which ones yet. It started working when I changed the pChart2.1.3 folder permissions to 777. Now I can tidy up.

Categories