Tony Pearce
asked on
Magento error
Magento Enterprise 1.3
On front and backend getting this error running on Xampp local:
Fatal error: Uncaught exception 'Exception' with message 'Warning: file_put_contents(): Filename cannot be empty in /Users/tony/mage/app/code/ local/Vari en/Autoloa d.php on line 246' in /Users/tony/mage/app/code/ core/Mage/ Core/funct ions.php:2 45 Stack trace: #0 [internal function]: mageCoreErrorHandler(2, 'file_put_conten...', '/Users/tony...', 246, Array) #1 /Users/tony/mage/app/code/ local/Vari en/Autoloa d.php(246) : file_put_contents('', 'a:319:{s:15:"Va...') #2 [internal function]: Varien_Autoload->__destruc t() #3 {main} thrown in /Users/tony/mage/app/code/ core/Mage/ Core/funct ions.php on line 245
Its a restore from backup, just really stumped on this, any suggestion where to start??
Thanks
On front and backend getting this error running on Xampp local:
Fatal error: Uncaught exception 'Exception' with message 'Warning: file_put_contents(): Filename cannot be empty in /Users/tony/mage/app/code/
Its a restore from backup, just really stumped on this, any suggestion where to start??
Thanks
Is your var folder and sub folders writable?
ASKER
Yes, all set to 777...
Thanks, this does not fix issue.
Thanks, this does not fix issue.
Then your PHP temp folder mustn't be writable or the user you are running under doesn't have permissions on the folder. This is on Linux?
ASKER
Hi,
I am running on a Mac, with XAMPP :
Apache 2.4.4, MySQL 5.5.32, PHP 5.4.19 & PEAR + SQLite 2.8.17/3.7.17 + multibyte (mbstring) support, Perl 5.16.3, ProFTPD 1.3.4c, phpMyAdmin 4.0.4, OpenSSL 1.0.1e
checked folder and looks like:
owner and group is 'daemon (1)'
path:
/Applications/XAMPP/xamppf iles/temp
How do I check this, sorry never come across this before.
I am running on a Mac, with XAMPP :
Apache 2.4.4, MySQL 5.5.32, PHP 5.4.19 & PEAR + SQLite 2.8.17/3.7.17 + multibyte (mbstring) support, Perl 5.16.3, ProFTPD 1.3.4c, phpMyAdmin 4.0.4, OpenSSL 1.0.1e
checked folder and looks like:
owner and group is 'daemon (1)'
path:
/Applications/XAMPP/xamppf
How do I check this, sorry never come across this before.
I think this is because your webserver have safe_mode on
http://www.magentocommerce.com/system-requirements
You need to set safe_mode to off in php.ini and restart Xampp
php.ini is located in /xampp/apache/bin/php.ini
http://www.magentocommerce.com/system-requirements
You need to set safe_mode to off in php.ini and restart Xampp
php.ini is located in /xampp/apache/bin/php.ini
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.