-
☆ A M B ☆
- 476 Posts
I’m working on a Localhost environment on MAMP and upon saving a Resource, I get the error message below. I’ve been working on MAMP with MODx on this install for a few hours with no problems and suddenly this error message came up.
Warning: fopen(/Applications/MAMP/public_html/XXXXX/assets/templates/manager/welcome.html) [function.fopen]: failed to open stream: No such file or directory in /Applications/MAMP/public_html/XXXXX/manager/actions/welcome.static.php on line 192
Warning: filesize() [function.filesize]: stat failed for /Applications/MAMP/public_html/XXXXX/assets/templates/manager/welcome.html in /Applications/MAMP/public_html/XXXXX/manager/actions/welcome.static.php on line 193
Warning: fread(): supplied argument is not a valid stream resource in /Applications/MAMP/public_html/XXXXX/manager/actions/welcome.static.php on line 193
Warning: fclose(): supplied argument is not a valid stream resource in /Applications/MAMP/public_html/XXXXX/manager/actions/welcome.static.php on line 194
Then I clicked logout to exit the Manager hoping I could logout and then log back in. I get this on the screen:
Warning: fopen(/Applications/MAMP/public_html/XXXXX/assets/templates/manager/login.html) [function.fopen]: failed to open stream: No such file or directory in /Applications/MAMP/public_html/XXXXX/manager/includes/accesscontrol.inc.php on line 130
Warning: filesize() [function.filesize]: stat failed for /Applications/MAMP/public_html/XXXXX/assets/templates/manager/login.html in /Applications/MAMP/public_html/XXXXX/manager/includes/accesscontrol.inc.php on line 131
Warning: fread(): supplied argument is not a valid stream resource in /Applications/MAMP/public_html/XXXXX/manager/includes/accesscontrol.inc.php on line 131
Warning: fclose(): supplied argument is not a valid stream resource in /Applications/MAMP/public_html/XXXXX/manager/includes/accesscontrol.inc.php on line 132
I restarted MAMP to try and clear things out, but the above error message shows up. Anyone come across this before?
Precision Web Development ... SmashStack.com
The first thought: whitespace, utf-booms and/or corrupt files
-
☆ A M B ☆
- 476 Posts
Corrupt files seems to be the issue. I just did a reinstall over the old files and it’s working again.
I’ll keep an eye on it.
Precision Web Development ... SmashStack.com