OS Commerce Installation Help

Posted on 2008-11-19
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" takes me here...


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

Now when i fix the URL to
http://localhost/Riddle_Percussion/oscopy/catalog/ seems to work but any link i click on is forwarded to ...


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

Question by:wellsinteractive
    LVL 29

    Expert Comment

    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
    LVL 29

    Expert Comment

    ...Note that in all cases the presence of a blank character in the path name might create problems...

    Author Comment

    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?
    LVL 29

    Accepted Solution

    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!

    Author Comment

    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

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

    This worked. Thank you for your help!!


    Author Closing Comment

    Thank you for you prompt response. I again apologize for the delays but I really do appreciate your help. Thank you
    LVL 29

    Expert Comment

    B-)) Glad it helped! Thx for the grade and points

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    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…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now