radeon9800 Posted April 21, 2005 Share Posted April 21, 2005 Hi All Sorry about the long winded message, but I am baffled. Encountered this problem this morning, I went and tried to change the message in the What's New Here? part in the includes/languages/english/index.php file. I then checked my website an an error had occurred, after playing around for some time trying to fix it, I couldn't get it to work. So I went into my ftp program and transferred a previously saved copy of the index.php from my c: drive into the online directory ////includes/languages/english/index.php file, and everything works fine and the webpage works as before. My problem now is that when I go into file manager in oscommerce and edit the includes/languages/english/index.php file and then save it (even without making any changes) it then doesn't save probably and I end up with an error usually something like this Parse error: parse error, unexpected T_STRING in /home/rota1/public_html/catalog/includes/languages/english/index.php on line 37 I have even tried opening the index.php file through the file manager in oscommerce and copying text (from the previously saved file (opened in notepad)) and coping this text into the index.php file and saving it, and everything works fine after I save it, however when I go to edit the index.php and open it again it appears to open a previously saved file and not the file I just saved. I am doing something silly here, or have I corrupted this file somehow. It appears to me that the index.php file saves good, however when the file is reopened it opens up a previously saved version and not the data I had just saved. Any help is appreciated. Link to comment Share on other sites More sharing options...
OceanRanch Posted April 21, 2005 Share Posted April 21, 2005 Don't use the osCommerce File Manger - it has a major bug. It strips backslashes from the file (ie. What\'s) and subsequently will cause PHP parse erros. Do ALL of your editing locally and ftp to the site. HTH Tom Link to comment Share on other sites More sharing options...
radeon9800 Posted April 21, 2005 Author Share Posted April 21, 2005 Thanks Tom I have been using it for the last couple of days, and it was workin fine until this morning. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.