macbw Posted December 28, 2006 Posted December 28, 2006 I uploaded Osc to my server. After navigating to the installation folder I already found out all images on the intstall page were broken. even the buttons. However I managed to install Osc, contacted to the database successfully and everything. But still not a single image or button on any page including the admin page is loading. Text styles are allright. I already checked the includes/configure.php file and the line: define('DIR_WS_IMAGES', 'images/'); looks allright to me. Also are the permissions of the images directory set to CMOD 777 and all images are in it. What can be wrong? Sure hope someone can help me out.
JahShuWah Posted December 28, 2006 Posted December 28, 2006 check this out: http://www.oscommerce.com/forums/lofiversion/i...php/t43259.html good luck.
macbw Posted December 28, 2006 Author Posted December 28, 2006 check this out: http://www.oscommerce.com/forums/lofiversion/i...php/t43259.html good luck. Thank you very much for the tip. I'm gonna check this out although I'm not sure that setting the permissions are the issue, because I already am able to set the permissions. Any other suggestions are still welcome.
macbw Posted December 28, 2006 Author Posted December 28, 2006 Thank you very much for the tip. I'm gonna check this out although I'm not sure that setting the permissions are the issue, because I already am able to set the permissions. Any other suggestions are still welcome. I copied this code into a file named chmodimages.php <?php require('includes/application_top.php'); require('includes/configure.php'); $image_query = tep_db_query("select products_image from products"); while ( $info = tep_db_fetch_array($image_query) ) { $target = DIR_FS_CATALOG . DIR_WS_IMAGES . $info['products_image']; echo $target . "<br>\n"; chmod( $target, 0646 ); } ?> uploaded it to my admin directory but got this error after navigating to the file. Parse error: syntax error, unexpected T_STRING in /usr/home/web/snl1234/ecowear.nl/catalog/admin/chmodimages.php on line 3 (It seems from my ftp program, I am able to set permissions on files. To be sure I will ask my hostingcompany about it)
macbw Posted December 29, 2006 Author Posted December 29, 2006 I found out wat was wrong. All imagefiles were corrupted as I uploaded them in ASCII (text) mode. I uploaded the image folder in automatic mode. All seems allright now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.