Bad image paths in CMSMS 1
Posted: Mon Sep 11, 2006 1:55 pm
Hi,
I'm relatively new to CMSMS, but I'm learning to love it. Good job to all the developers
I just finished upgrading from CMSMS 0.13 (I believe...), and now I'm running version 1.0. It was a little complicated during the upgrade, but I think I have everything done right.
My system is running on a Windows Server 2003 machine with IIS 6, latest security patches, etc. I'm also using PHP 5 and a Postgres database.
Before the upgrade, everything worked well. Images displayed best kind... I did have some problems with the CSS, but after digging through the PHP code a bit, I determined it was a missed query to the Postgres database (needed a pg_query($sql) in the stylesheet php file).
For the upgrade, I backed up all previous files and copied over the new installation. Then, I copied my old images back to uploads/images (they were the only uploaded files I had). I also reset the permissions as per the installation guidelines in the documentation, giving the Users group modify permissions to various directories, such as uploads, uploads/images, tmp/templates_c, tmp/cache ...
There was a minor problem during the upgrade. I got into the administrative interface and it skipped asking me for credentials, as well as the upgrade.php file. After trying another browser, it caught the necessary upgrade.
Now, everything works fine, except the images in Firefox. When browsing the site, the images do not display properly, and instead the alternate text is displayed. After looking at the HTML, it renders:
Is there a simple spot for me to go in and replace "\" with "/" when it maps out my images? Although the site renders well in other browsers (such as Safari), it breaks under Firefox. Or is there a problem with my setup that I can fix, without moving to a Linux box?
Thanks for the help!
I'm relatively new to CMSMS, but I'm learning to love it. Good job to all the developers
I just finished upgrading from CMSMS 0.13 (I believe...), and now I'm running version 1.0. It was a little complicated during the upgrade, but I think I have everything done right.
My system is running on a Windows Server 2003 machine with IIS 6, latest security patches, etc. I'm also using PHP 5 and a Postgres database.
Before the upgrade, everything worked well. Images displayed best kind... I did have some problems with the CSS, but after digging through the PHP code a bit, I determined it was a missed query to the Postgres database (needed a pg_query($sql) in the stylesheet php file).
For the upgrade, I backed up all previous files and copied over the new installation. Then, I copied my old images back to uploads/images (they were the only uploaded files I had). I also reset the permissions as per the installation guidelines in the documentation, giving the Users group modify permissions to various directories, such as uploads, uploads/images, tmp/templates_c, tmp/cache ...
There was a minor problem during the upgrade. I got into the administrative interface and it skipped asking me for credentials, as well as the upgrade.php file. After trying another browser, it caught the necessary upgrade.
Now, everything works fine, except the images in Firefox. When browsing the site, the images do not display properly, and instead the alternate text is displayed. After looking at the HTML, it renders:
Code: Select all
<img src="http://mysite.com\uploads\images/header.jpg" width="500" height="173" alt="[header.jpg]" title="[header.jpg]"/>Thanks for the help!