Errors occurred during magento installation - php

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.

Related

Warning: require(./wp-blog-header.php): failed to open stream: No such file or directory in /home/newapropos/public_html/index.php on line 17

This is what the error message says :
Warning: require(./wp-blog-header.php): failed to open stream: No such file or directory in /home/newapropos/public_html/index.php on line 17
Fatal error: require(): Failed opening required './wp-blog-header.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /home/newapropos/public_html/index.php on line 17
but I don't know what to change in the line 17 to fix?
If you need to update your PHP version, you can follow this guide. The update process also depends on if you use Ubuntu, Nginx, or apache, etc... What I shared here is for Ubuntu.
I think check your php version should be greater than 7.4

Laravel not working in terminal

I had laravel all set up on my computer and everything was working great, then they released version 5.5 and things didn't work for me anymore. When I type laravel in my terminal I get:
PHP Warning: require(/Users/logan/.composer/vendor/composer/../guzzlehttp/psr7/src/functions_include.php): failed to open stream: No such file or directory in /Users/logan/.composer/vendor/composer/autoload_real.php on line 66
Warning: require(/Users/logan/.composer/vendor/composer/../guzzlehttp/psr7/src/functions_include.php): failed to open stream: No such file or directory in /Users/logan/.composer/vendor/composer/autoload_real.php on line 66
PHP Fatal error: require(): Failed opening required '/Users/logan/.composer/vendor/composer/../guzzlehttp/psr7/src/functions_include.php' (include_path='.:') in /Users/logan/.composer/vendor/composer/autoload_real.php on line 66

Getting error on installation of PyroCMS

I am getting this error when installing PyroCMS
Warning:
require(C:\xampp\htdocs\pyrocms\bootstrap/../vendor/autoload.php):
failed to open stream: No such file or directory in
C:\xampp\htdocs\pyrocms\bootstrap\autoload.php on line 17
Fatal error: require(): Failed opening required
'C:\xampp\htdocs\pyrocms\bootstrap/../vendor/autoload.php'
(include_path='.;C:\xampp\php\PEAR') in
C:\xampp\htdocs\pyrocms\bootstrap\autoload.php on line 17
Thanks in advance.
Open cmd then go to the directory of your project.
cmd
cd c:\xampp\htdocs\yourproject
then
update composer
that's it

warning error in autoload.php file in laravel

I am trying to run quickstart-basic-master but got this error please give me solution
Warning: require(D:\xamp\htdocs\quickstart-basic-master\bootstrap/../vendor/autoload.php):
failed to open stream: No such file or directory in D:\xamp\htdocs\quickstart-basic-master\bootstrap\autoload.php on line 17
Fatal error: require():
Failed opening required 'D:\xamp\htdocs\quickstart-basic-master\bootstrap/../vendor/autoload.php' (include_path='.;D:\xamp\php\PEAR') in D:\xamp\htdocs\quickstart-basic-master\bootstrap\autoload.php on line 17
You have to run
composer install
so it creates your vendordirectory with all dependencies.

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.

Categories