evalguy Posted December 29, 2005 Share Posted December 29, 2005 Experimenting with setting up osC on an existing shared hosting plan that I have, and I'm following the procedure in the installation doc. Not familiar with php coding yet, but I verified php works by creating a hello-world program. I've also been able to extract php info and found out it's running v4.3.11. I created a database (the install doc did not specify a db name, so I called it {cdosc"), uploaded the files/directories as required, but when I go to "..../catalog/install" in a browser, I get a 404 error. Perhaps it's not looking for .php files by default, so I explicitly go to "..../catalog/install/index.php". Now I get a simple message stating "No input file specified." Hmmm... so I start looking thru the code and following the chain of includes, and it mentions "can't run in safe mode" somewhere in there. I mention that because the hosting provider (GoDaddy) said that PHP was running in safe mode. But when I extract the php info, it says safe mode is off. So I'm stepping back a bit, as I don't think I should be tracing thru code just to get the installation script to work. Can any of you think of something I'm missing? Is there a specific db name/user required perhaps? Thanks, -Neil. Link to comment Share on other sites More sharing options...
kgt Posted December 29, 2005 Share Posted December 29, 2005 This can happen if the url you've requested doesn't actually exist. Make sure .../catalog/install/index.php is the correct url to your install. PHP running as CGI on Apache causes this when it doesn't exist because: 1.) The directory catalog/install/ doesn't exist, so Apache throws a 404 not found error. 2.) If an actual filenames is specified (catalog/install/index.php) Apache doesn't check for it's existence, but just passes it on to the PHP engine, which then has nothing to run - "No input file specified." This is the exact error you'd get if you tried to run php on the command line. It means the file you told it to run doesn't exist. Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
evalguy Posted December 29, 2005 Author Share Posted December 29, 2005 This can happen if the url you've requested doesn't actually exist. Make sure .../catalog/install/index.php is the correct url to your install. PHP running as CGI on Apache causes this when it doesn't exist because: 1.) The directory catalog/install/ doesn't exist, so Apache throws a 404 not found error. 2.) If an actual filenames is specified (catalog/install/index.php) Apache doesn't check for it's existence, but just passes it on to the PHP engine, which then has nothing to run - "No input file specified." This is the exact error you'd get if you tried to run php on the command line. It means the file you told it to run doesn't exist. Hmmm... just verified what you said by pointing the browser to some made-up php filename, and got exactly the same, as you said. I'll go verify the files on the server... Much thanks, -Neil. Link to comment Share on other sites More sharing options...
evalguy Posted December 29, 2005 Author Share Posted December 29, 2005 Ding! We have a winner. Files were indeed missing. Apparently the file transfer failed due to space issues. Once I removed a huge backup file I had on there, it transferred okay, and now I can run the installation script. Thanks. Now though, the script can't connect to the database, but I'll go chase that down, as it's probably due to an incorrect server name. Thanks, -Neil. Link to comment Share on other sites More sharing options...
cyclonut Posted December 31, 2005 Share Posted December 31, 2005 :huh: Hey, buddy. Glad you are in about the same area of installation like me, now on Step 4. Like you, I am also with GoDaddy, and could use some collaboration. I do not know what to type in on the next installation screen on this step 4 web server information, so any help would be welcome. I went to their MY HOSTING ACCOUNT, and in HOSTING MANAGER, DATABASE, MySQL started a database. All it gave me back was the host name is mysql85.secureserver.net, and I named my database and username as NakorroDB. From this, would you know what to fill out in this Step 4, for WEB SERVER ROOT DIRECTORY, HTTP COOKIE DOMAIN, and HTTP COOKIE PATH? ... the osCommerce instructions are a bit vague, and mention this "/home/myname/public_html/osCommerce/" which is not applicable to GoDaddy, right? Also, if you are stuck at Step 3, read my problem and solution, this community helped me out. Link to comment Share on other sites More sharing options...
ozcsys Posted December 31, 2005 Share Posted December 31, 2005 :huh: Hey, buddy. Glad you are in about the same area of installation like me, now on Step 4. Like you, I am also with GoDaddy, and could use some collaboration. I do not know what to type in on the next installation screen on this step 4 web server information, so any help would be welcome. I went to their MY HOSTING ACCOUNT, and in HOSTING MANAGER, DATABASE, MySQL started a database. All it gave me back was the host name is mysql85.secureserver.net, and I named my database and username as NakorroDB. From this, would you know what to fill out in this Step 4, for WEB SERVER ROOT DIRECTORY, HTTP COOKIE DOMAIN, and HTTP COOKIE PATH? ... the osCommerce instructions are a bit vague, and mention this "/home/myname/public_html/osCommerce/" which is not applicable to GoDaddy, right? Also, if you are stuck at Step 3, read my problem and solution, this community helped me out. You may try doing a search for godaddy as others have had similiar problems getting setup. My suggestion however is to rethink your hosting arrangments. I have not heard of anyone having much fun getting and keeping osC up and going with godaddy hosting. I would switch to someone more osc friendly. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
kabuca Posted January 4, 2006 Share Posted January 4, 2006 I have not had a single issue with godaddy. I had migrated from 1and1 as they would not let me switch to a linux server since I just upgraded my plan 1 week before. Call me lucky.. If I do run into problems, who is a more osc friendly host? Jason Link to comment Share on other sites More sharing options...
mannyd Posted January 5, 2006 Share Posted January 5, 2006 you have a linux or windows hosting account? I have not had a single issue with godaddy. I had migrated from 1and1 as they would not let me switch to a linux server since I just upgraded my plan 1 week before. Call me lucky.. If I do run into problems, who is a more osc friendly host? Jason Link to comment Share on other sites More sharing options...
evalguy Posted January 7, 2006 Author Share Posted January 7, 2006 Sorry I slipped on this thread -- my email address for notifications was not set up correctly. I do have a working (though unfinished) site on GoDaddy currently, and I only need to install/setup SSL still. If you need any help still, let me know. Cheers, -Neil. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.