wellsinteractive
asked on
OS Commerce Installation Help
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\os copy\catal og\) [function.parse-url]: Unable to parse URL in D:\-=My Documents=-\Web Stuff\Riddle_Percussion\os copy\catal og\install \templates \pages\ins tall_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?
This is the error on "step 4"
PHP Warning: parse_url(http://localhostD:\-=My Documents=-\Web Stuff\Riddle_Percussion\os
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?
...Note that in all cases the presence of a blank character in the path name might create problems...
ASKER
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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/Ridd le_Percuss ion/1/cata log/
This worked. Thank you for your help!!
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/Ridd
This worked. Thank you for your help!!
ASKER
Thank you for you prompt response. I again apologize for the delays but I really do appreciate your help. Thank you
B-)) Glad it helped! Thx for the grade and points
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\os
d:\docs\Web Stuff\Riddle_Percussion\os
-- web server form would probably be using the physical folder and forward slashes
/docs/Web Stuff/Riddle_Percussion/os
Note that in all cases the presence of a space in the path might create problems