Warning: include_once(Varien/Autoload.php): failed to open stream - magento-1.9

I still can't get to fix this error. I'm just trying to load a magento project in my local:
Warning: include_once(Varien/Autoload.php): failed to open stream: No such file or directory in /var/www/html/box/app/Mage.php on line 51
All file are in the right place.
Any ideas?? Thanks!

Related

Problems with local installation of Magento 1.9.3.8. site

It's my first time that I find myself working with Magento, after installing the backup on local using Mamp, when I try to connect to the page I see the following message.
Warning: include_once(/Applications/MAMP/htdocs/amsb/includes/src/Mage_Core_functions.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 36
Warning: include_once(): Failed opening '/Applications/MAMP/htdocs/amsb/includes/src/Mage_Core_functions.php' for inclusion (include_path='/Applications/MAMP/htdocs/amsb/includes/src:.:/Applications/MAMP/bin/php/php7.0.22/lib/php') in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 36
Warning: include_once(/Applications/MAMP/htdocs/amsb/includes/src/Varien_Autoload.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 37
Warning: include_once(): Failed opening '/Applications/MAMP/htdocs/amsb/includes/src/Varien_Autoload.php' for inclusion (include_path='/Applications/MAMP/htdocs/amsb/includes/src:.:/Applications/MAMP/bin/php/php7.0.22/lib/php') in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 37
Fatal error: Uncaught Error: Class 'Varien_Autoload' not found in /Applications/MAMP/htdocs/amsb/app/Mage.php:54 Stack trace: #0 /Applications/MAMP/htdocs/amsb/index.php(65): require_once() #1 {main} thrown in /Applications/MAMP/htdocs/amsb/app/Mage.php on line 54
I have already cleared the cache and changed the links in the database web / secure / base_url and web / unsecure / base_url.
Can anyone help me?
As I can see from the error message you are using PHP 7 in your MAMP installation. Since PHP 7 is not officially supported by magento v1.9.x you should switch the PHP version in the MAMP settings to 5.x and everything should work.
Try to install Inchoo PHP7 compatibility extension:
https://github.com/Inchoo/Inchoo_PHP7

Attempting to "importDump.php" in mediawiki on bitnami instance on Google Cloud, getting error "failed to open stream..."

Followed the 2x options for commands at: https://www.mediawiki.org/wiki/Manual:Importing_XML_dumps#Using_importDump.php,_if_you_have_shell_access
In both instances, getting a 'failed to open stream' error.
I have chmod 777 for folder and file. (Thinking it may be permission error)
I have moved the file to import right into the maintenance folder (some postings suggesting PHP needs to be able to find the file, so think putting it there will help)...
on command:
"root#bitnami-mediawiki-___:/opt/bitnami/apps/mediawiki/htdocs/maintenance# php importDump.php --co
nf ../LocalSettings.php /FILENAME.xml"
I see error:
"PHP Warning: fopen(/FILENAME.xml): failed to open stream: No such file or directory in /opt/bitnam
i/apps/mediawiki/htdocs/maintenance/importDump.php on line 267
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /opt/bitnami/apps/mediawiki/
htdocs/includes/import/ImportStreamSource.php on line 41
PHP Warning: fread() expects parameter 1 to be resource, boolean given in /opt/bitnami/apps/mediawiki
/htdocs/includes/import/ImportStreamSource.php on line 48
PHP Warning: feof() expects parameter 1 to be resource, boolean given in /opt/bitnami/apps/mediawiki/
htdocs/includes/import/ImportStreamSource.php on line 41
PHP Warning: XMLReader::read(): uploadsource://9115d0bbe5ae974e1fe2d411e035aeaa:1: parser error : Ext
ra content at the end of the document in /opt/bitnami/apps/mediawiki/htdocs/includes/import/WikiImport
er.php on line 551
PHP Warning: XMLReader::read(): in /opt/bitnami/apps/mediawiki/htdocs/includes/import/WikiImporter.p
hp on line 551
PHP Warning: XMLReader::read(): ^ in /opt/bitnami/apps/mediawiki/htdocs/includes/import/WikiImporter.
php on line 551
Set $wgShowExceptionDetails = true; in LocalSettings.php to show detailed debugging information."
I'm not clear what the error means and how to grant access to the file... Newb to BASH and servers. Any help would be greatly appreciated!
It looks to me that the path of the FILENAME.xml file is wrong. Note that you have a / at the beginning of FILENAME.xml, so it will look at the root of the filesystem. If the file is in the same folder, then use ./FILENAME.xml

Fatal error: require_once() [function.require]: Failed opening required global.php

I am try to open my site in locally. xampp is installed, but I get the following errors. How can I rectify this:
Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/class.inputfilter.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/global.php on line 104
And:
Fatal error: require_once() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/class.inputfilter.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/global.php on line 104
This Warning is not Failed opening required global.php. This warning says line number 104 of global.php have a statement for requiring a file named class.inputfilter.php But, failed to load it.
This issue can occur in following cases :
--> File does not exists.
--> File exists but do not have READ permission.
Solution :
Go to the path :
/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/
and find the file named class.inputfilter.php.
If not found then get it from the fresh package of Virtuemart(Remember to check the version. Both files have to be from same Virtuemart version).
If exists then change its permissions to 644 or 755.

Server Object Creation Error

I am unable to run a particular ASP page in my website. It is throwing the below error.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/includes/conferenceRoom/init.asp, line 13
800401f3.
However my page is running well in Prod server but it is throwing error in my dev derver. I am unable to find the root cause for this error.
The line 13 is to create obj for my calender app in ASP:
set objCal= server.CreateObject("bsCal.cDate")
Any one please help me to resolve this error.
Make sure the COM object (i.e. bsCal.cDate) is registered. Find its DLL and register it using regsvr32
Assuming you copied your dll to the folder d:\objects.
In a command prompt type:
regsvr32 d:\objects\YourDll.dll

Failed to load JSON - Sencha Touch 2

I am trying to refresh my app to show any differences in local host but the sencha CMD seems to not able to find my app.json file in the generated app folder structure. The file is deffinately there as well, but i do not know why it is tripping up with this.
Here is the log:
Sencha Cmd v4.0.2.67
[ERR] Failed to load JSON from /Users/username/Downloads/sencha/app.json - com.google.gson.stream.MalformedJsonException: Unterminated array at line 80 column 20
It seems this error only occurs when an additional css file is added in the app.json file.
Thanks.