[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

OS Commerce Installation Help

Posted on 2008-11-19
7
Medium Priority
?
328 Views
Last Modified: 2013-12-13
I'm installing OS Commerce on my local machine. As i'm installing OS Commerce, I get PHP Warnings and errors after the full install on localhost.

This is the error on "step 4"

PHP Warning: parse_url(http://localhostD:\-=My Documents=-\Web Stuff\Riddle_Percussion\oscopy\catalog\) [function.parse-url]: Unable to parse URL in D:\-=My Documents=-\Web Stuff\Riddle_Percussion\oscopy\catalog\install\templates\pages\install_4.php on line 75

Now when I click on "catalog" or "admin"...it takes me here...

http://localhost/Riddle_Percussion/oscopy/catalog/install/:///index.php
http://localhost/Riddle_Percussion/oscopy/catalog/install/:///admin/index.php

...and gives me this result..."The directory name is invalid"

Now when i fix the URL to
http://localhost/Riddle_Percussion/oscopy/catalog/

...it seems to work but any link i click on is forwarded to ...

http://localhost/Riddle_Percussion/oscopy/catalog/:///index.php?cPath=1
http://localhost/Riddle_Percussion/oscopy/catalog/:///index.php?manufacturers_id=9

I'm thinking that somewhere I defined the URL incorrectly but i don't know what's going on. Help?

0
Comment
Question by:wellsinteractive
  • 4
  • 3
7 Comments
 
LVL 29

Expert Comment

by:fibo
ID: 23132466
Looks like you gave wrong asnwers to the different fiule names you are asked to provide.
You do not mention your web server, I assume it is Apache but might be IIS

1 - Url to your site seems to be http://localhost/Riddle_Percussion/oscopy/catalog/
2 - Path to your files might be asked / given in 2 forms:
-- disk form would be D:\-=My Documents=-\Web Stuff\Riddle_Percussion\oscopy\catalog\ and probably should not be used, more specifically since this is a windows path where D:\-=My Documents=-\ is an alias for a physical folder that you might consider using instead, say d:\docs\ which would lead to
d:\docs\Web Stuff\Riddle_Percussion\oscopy\catalog\
-- web server form would probably be using the physical folder and forward slashes
/docs/Web Stuff/Riddle_Percussion/oscopy/catalog/
Note that in all cases the presence of a space in the path might create problems
0
 
LVL 29

Expert Comment

by:fibo
ID: 23132473
...Note that in all cases the presence of a blank character in the path name might create problems...
0
 

Author Comment

by:wellsinteractive
ID: 23201082
yea I tried different address possibilities as you said to no avail. You think the spaces or have the "-=My Documents=-" (equals and minus signs) characters would have an effect on this?
0
2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

 
LVL 29

Accepted Solution

by:
fibo earned 2000 total points
ID: 23202909
I would worry not so much of blank spaces in purely windows \\ paths (although bad surprises are always possible), but I would worry a lot about the blank space in the "apache // path" , ie /docs/Web Stuff/Riddle_Percussion/oscopy/catalog/
I would probably change that before going any further
Yes, I confess being paranoid at times!
0
 

Author Comment

by:wellsinteractive
ID: 23275341
Hey thanks for your help and patience Fibo. I apologize for the long delay. I've just got back into town from Mexico and December has been a wild month. Anyways, i'm back and should be consistent here...

So far what you said has helped my other errors and now the site seems to be working but not the admin tool. This is what I put during the install

WWW Address
http://localhost/Riddle_Percussion/1/catalog/

Webserver Root Directory
D:/-=My Documents=-/Web_Stuff/Riddle_Percussion/1/catalog/


This worked. Thank you for your help!!

0
 

Author Closing Comment

by:wellsinteractive
ID: 31530174
Thank you for you prompt response. I again apologize for the delays but I really do appreciate your help. Thank you
0
 
LVL 29

Expert Comment

by:fibo
ID: 23275468
B-)) Glad it helped! Thx for the grade and points
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses
Course of the Month20 days, 7 hours left to enroll

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question