osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Red Hat Linux 9 - No Images/No Admin

This is a discussion on Red Hat Linux 9 - No Images/No Admin within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; RH 9/Apache 2, new install everything went fine. Able to access /catalog/index.php fine but no images show. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 09-29-2003, 11:32 AM
New Member
 
Join Date: Sep 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
maxwelltl
Default Red Hat Linux 9 - No Images/No Admin

RH 9/Apache 2, new install everything went fine.

Able to access /catalog/index.php fine but no images show.

Unable to access /catalog/admin/index.php, can't find the file although it is there.

It must be a Linux setup problem but I haven't a clue as to what it might be. If there are any Linux gurus out there I'd appreciate some direction in which to start looking.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 09-29-2003, 04:55 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Check to make sure you have the correct path in your configure.php file. Many times, that is the culprit.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 09-29-2003, 09:31 PM
New Member
 
Join Date: Sep 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
maxwelltl
Default

Interesting! I have just loaded it on a WinXP machine along with apache/mysql/php and am getting the same results. Perhaps it has to do with my PHP installation??? When I look into the Apache error log, I see all kind of error messages similar to this one:

[client 192.168.1.52] PHP Warning: main(/catalog/includes/filenames.php): failed to open stream: No such file or directory in C:\Apache2\htdocs\catalog\includes\application_top .php on line 53
[client 192.168.1.52] PHP Fatal error: main(): Failed opening required '/catalog/includes/filenames.php' (include_path='.;c:\php4\pear') in C:\Apache2\htdocs\catalog\includes\application_top .php on line 53

So it looks like the path to filenames.php is getting hammered, although the path shown looks correct. I have no clue what the "c:\php4\pear" is doing in there. I don't even have that directory on my system.

I did a standard installation with no errors and my configure.php file looks like this:

define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'localhost');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

I don't know for sure, but I am concerned with the DIR_WS_INCLUDES definition. It seems to me that it should be the concatination of WS_HTTP_CATALOG . 'includes/'


Any other thoughts?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 09-29-2003, 10:20 PM
New Member
 
Join Date: Sep 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
maxwelltl
Default

More info. I don't believe it is OSC. Everything works as expected when I access the catalog from my local machine localhost/catalog/index.php but it doesn't work when I access it from on the LAN. This must have something to do with the way I have the permissions set up. Now I am not sure where to look. What is the difference between the way the local host accesses the files and a remote user accesses the files?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 09-29-2003, 11:18 PM
New Member
 
Join Date: Sep 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
maxwelltl
Default

My apologies, the errors listed above were created when I went in and changed the configure.php file. Sorry. I have put it back the way it was and I am no longer getting the errors in the apache log. However, the catalog is still not working properly.

Interestingly I am getting the same problem on Linux and Windows. So what has changed or what are the similarities? I have upgraded to the latest release or apache 2.0.47 and the latest release of PHP 4.3.3. There is a difference in the way one of these packages is handling paths. As I said it works fine from the local machine, but when I access across the network it fails to access anything below the /catalog directory. In addition to the images not working, I get a 404 error when I try to go any deeper than the top page. Interestingly, when the error occurs I get a message saying the

file "(http://192.168.1.54/catalog/index.ph...8bedbd04bddae5)" doesn't exist.

Notice the double concatination of the of the path???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 09-29-2003, 11:40 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,190
Thanks: 66
Thanked 290 Times in 276 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Try using the IP instead of 'localhost' in your configure.php . Sometimes that will cause a problem.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 09-30-2003, 06:49 AM
New Member
 
Join Date: Sep 2003
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
maxwelltl
Default Yes Indeed!

Thank-you kind sir! That was it.

For everyone's benefit. Be sure that you put the ip address of the system and not 'local' in the configuration file.

If OSC comes up but doesn't show the images, check this out!


Thank-you kind sir! I appreciate your patience with this newbie and his newbie type questions!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Can I have 2 stores on one linux server? ozstar osCMax v2 Installation issues 1 08-05-2006 04:35 PM
test.sh --- new to linux -- how do I run the file? markymrk22 osCommerce 2.2 Modification Help 2 01-23-2006 08:39 AM
xsell on linux? rogue osCMax v1.7 Discussion 1 09-27-2004 01:50 PM
Please help with install problem (linux) vincent1288 osCommerce 2.2 Installation Help 1 04-30-2003 09:06 AM


All times are GMT -8. The time now is 10:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax