Reply
osCommerce on WAMP5
Old 11-18-2007, 08:38 PM osCommerce on WAMP5
frofi's Avatar
Extreme Talker

Posts: 215
Location: London
I hope this is the right place to ask my question. I’m working on a E-commerce website and I have decided to try osCommerce for this purpose. Right at the beginning I encountered a problem. I am testing on WinXP Pro running WAMP5.


After installing the DB and all, everything is working fine, but only from within the catalog folder. The catalog folder is placed directly inside the root. That means that the index.html in the Document Root doesn’t seem to be able to call any apps from the catalog folder. That is a big problem because I need to be able to access the apps from my index page. Any ideas on how to do that?

An example:
Displaying the carts’ content and total if the page is ran from within the catalog folder:

PHP Code:
require('includes/application_top.php');
  echo  
' Items: ' $cart-> count_contents();
  echo 
'<br />Total: ' $currencies ->format($cart-> show_total()); 
Same thing with altered path info running from root doesn’t work:
PHP Code:
require('catalog/includes/application_top.php');
  echo  
' Items: ' $cart-> count_contents();
  echo 
'<br />Total: ' $currencies ->format($cart-> show_total()); 



This is the error I am getting:

Quote:
Warning: require(includes/configure.php) [function.require]: failed to open stream: No such file or directory in G:\wamp\www\ catalog\includes\application_top.php on line 28

Fatal error: require() [function.require]: Failed opening required 'includes/configure.php' (include_path='.;C:\php5\pear') in G:\wamp\www\ catalog\includes\application_top.php on line 28
__________________
THE FORCE is with me at last! All I need now is some TALKUPATION ;)
frofi is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 11-18-2007, 08:44 PM Re: osCommerce on WAMP5
Novice Talker

Posts: 13
From what I can see there is a space before the C in catalog.

From the code you posted it's not apparent if the error is in your config file or elseware.
__________________
http://www.JawYak.com - Find your Stuff!
http://www.FDIS-Miami.com - Merchant Accounts for Business
http://www.TrillianMerchants.com - ECommerce Solutions
ericsante is offline
Reply With Quote
View Public Profile
 
Old 11-18-2007, 09:26 PM Re: osCommerce on WAMP5
frofi's Avatar
Extreme Talker

Posts: 215
Location: London
Quote:
Originally Posted by ericsante View Post
From what I can see there is a space before the C in catalog.
I hope the thing about the space between c and whatever is a joke. I am asking for help exactly because it isn’t apparent what the problem is. Not to me anyway. I believe only someone who knows osCommerce or WAMP5 can help me.
__________________
THE FORCE is with me at last! All I need now is some TALKUPATION ;)
frofi is offline
Reply With Quote
View Public Profile
 
Old 11-18-2007, 09:32 PM Re: osCommerce on WAMP5
Novice Talker

Posts: 13
well based on the limited information you posted the problem is with your file path.
__________________
http://www.JawYak.com - Find your Stuff!
http://www.FDIS-Miami.com - Merchant Accounts for Business
http://www.TrillianMerchants.com - ECommerce Solutions
ericsante is offline
Reply With Quote
View Public Profile
 
Old 11-19-2007, 11:20 AM Re: osCommerce on WAMP5
frofi's Avatar
Extreme Talker

Posts: 215
Location: London
Problem solved!
__________________
THE FORCE is with me at last! All I need now is some TALKUPATION ;)
frofi is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to osCommerce on WAMP5
 

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

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


Webmaster Resources Marketplace:
Software Development Company | Webhosting.UK.com | Text Link Brokers 


   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13277 seconds with 12 queries