error in saving css file in joomla backend
4 posts
• Page 1 of 1
error in saving css file in joomla backend
Haven't found any posts on this, but I'm having a minor problem in saving changes to the css file using the user-interface in the backend. It doesn't save changes to the file, I have to edit the file in the folders directly to make changes. Every time I save any settings in the backend, even if no changes were attempted in the css I get the following message in my cPanel error log:
[error] PHP Warning: fileperms() [<a href='function.fileperms'>function.fileperms</a>]: stat failed for /home/myUserName/public_html/pathToJoomlaRoot/css/xmap.css in /home/myUserName/public_html/pathToJoomlaRoot/administrator/components/com_xmap/classes/XmapAdmin.php on line 98
I tried changing the chmod settings of the css file to 777, just to check, but it didnt help. I see also that the file has not been assigned an owner, I know that this is sometimes an issue.
Things seem to work fine, as I can work around this, just would be nice to get to the bottom of this minor issue.
I'm using Xmap 1.1 on Joomla 1.0.15.
[error] PHP Warning: fileperms() [<a href='function.fileperms'>function.fileperms</a>]: stat failed for /home/myUserName/public_html/pathToJoomlaRoot/css/xmap.css in /home/myUserName/public_html/pathToJoomlaRoot/administrator/components/com_xmap/classes/XmapAdmin.php on line 98
I tried changing the chmod settings of the css file to 777, just to check, but it didnt help. I see also that the file has not been assigned an owner, I know that this is sometimes an issue.
Things seem to work fine, as I can work around this, just would be nice to get to the bottom of this minor issue.
I'm using Xmap 1.1 on Joomla 1.0.15.
- csommer
- Junior Boarder

- Posts: 23
- Joined: Sun Apr 13, 2008 11:26 pm
Re:error in saving css file in joomla backend
Hi, thanks for reporting that! I have found the problem, in the file /administrator/components/com_xmap/classes/XmapAdmin.php replace:
by this
- Code: Select all
$file = $mosConfig_absolute_path .'/css/xmap.css';
by this
- Code: Select all
$file = $mosConfig_absolute_path .'/components/com_xmap/css/xmap.css';
-

guilleva - Administrator

- Posts: 1517
- Joined: Wed Sep 12, 2007 3:10 am
- Location: San José, Costa Rica
Re:error in saving css file in joomla backend
This has solved the problem: no more error messages and am able to edit the css file in the Joomla backend.
I hadn't picked up on the discrepancy between the path in the error message and the actual path to the css file: seems pretty obvious now.
Thank you for the support and a great component!
I hadn't picked up on the discrepancy between the path in the error message and the actual path to the css file: seems pretty obvious now.
Thank you for the support and a great component!
- csommer
- Junior Boarder

- Posts: 23
- Joined: Sun Apr 13, 2008 11:26 pm
Re:error in saving css file in joomla backend
I don't even see the first line of code in this file.
Last edited by mangotti on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
Reason: 1
- mangotti
- Fresh Boarder

- Posts: 1
- Joined: Mon Apr 21, 2008 12:32 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests