Guest colin4255 Posted February 1, 2009 Share Posted February 1, 2009 I have just tried to install Cubecart version 3 - latest release. My host is at servage.net and I set up a mysql5 database, followed very carefully all the instructions, cjecked everything on the install screen then deleted the install folder on exit. When I try to view either the shop or the admin panel, this is what I see:-- 1. When I try to view the shop as loaded, before anything is entered: Warning: main(includes/sessionStart.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 55 Warning: main() [function.include]: Failed opening 'includes/sessionStart.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 55 Warning: main(includes/sslSwitch.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 57 Warning: main() [function.include]: Failed opening 'includes/sslSwitch.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 57 Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php:55) in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/includes/session.inc.php on line 95 Warning: main(includes/currencyVars.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 63 Warning: main() [function.include]: Failed opening 'includes/currencyVars.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 63 Warning: main(includes/boxes/searchForm.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 172 Warning: main(includes/boxes/searchForm.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 172 Warning: main(includes/boxes/searchForm.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 172 Warning: main() [function.include]: Failed opening 'includes/boxes/searchForm.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 172 Warning: main(includes/boxes/randomProd.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 181 Warning: main(includes/boxes/randomProd.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 181 Warning: main(includes/boxes/randomProd.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 181 Warning: main() [function.include]: Failed opening 'includes/boxes/randomProd.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 181 Warning: main(includes/boxes/shoppingCart.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 193 Warning: main(includes/boxes/shoppingCart.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 193 Warning: main(includes/boxes/shoppingCart.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 193 Warning: main() [function.include]: Failed opening 'includes/boxes/shoppingCart.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 193 Warning: main(includes/boxes/popularProducts.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 196 Warning: main(includes/boxes/popularProducts.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 196 Warning: main(includes/boxes/popularProducts.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 196 Warning: main() [function.include]: Failed opening 'includes/boxes/popularProducts.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 196 Warning: main(includes/boxes/saleItems.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 199 Warning: main(includes/boxes/saleItems.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 199 Warning: main(includes/boxes/saleItems.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 199 Warning: main() [function.include]: Failed opening 'includes/boxes/saleItems.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 199 Warning: main(includes/boxes/mailList.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 202 Warning: main(includes/boxes/mailList.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 202 Warning: main(includes/boxes/mailList.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 202 Warning: main() [function.include]: Failed opening 'includes/boxes/mailList.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 202 Warning: main(includes/boxes/siteDocs.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 205 Warning: main(includes/boxes/siteDocs.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 205 Warning: main(includes/boxes/siteDocs.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 205 Warning: main() [function.include]: Failed opening 'includes/boxes/siteDocs.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/index.php on line 205 [XTemplate] • [] (skins/Legend/styleTemplates/global/index.tpl) does not exist • parse: blockname [body] does not exist 2. When I try to access admin: Warning: main() [function.main]: Unable to access ../includes/sslSwitch.inc.php in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/index.php on line 37 Warning: main(../includes/sslSwitch.inc.php) [function.main]: failed to open stream: No such file or directory in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/index.php on line 37 Warning: main() [function.include]: Failed opening '../includes/sslSwitch.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/index.php on line 37 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/index.php:37) in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/includes/auth.inc.php on line 44 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/index.php:37) in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/includes/auth.inc.php on line 44 Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/index.php:37) in /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload/admin/includes/auth.inc.php on line 48 I must have done something wrong - but have no idea what?? Can anyone help? Thanks Colin Quote Link to comment Share on other sites More sharing options...
burgensteen Posted February 1, 2009 Share Posted February 1, 2009 Your paths are wrong in your includes/global.inc.php Quote Link to comment Share on other sites More sharing options...
jerseyjoe Posted February 2, 2009 Share Posted February 2, 2009 Your paths are wrong in your includes/global.inc.phpLooks like that to me as well. Also, it is possible that you uploaded the entire "upload" folder, not just the CONTENTS of the upload folder? That would explain why the paths in the error messages all contain that snippet " . . . /ask4cask.co.uk/cube/upload/ . . . " I don't think /uploads/ should appear in that path. I'd wipe it all out and start again, taking care to upload only the CONTENTS of the upload folder, not the folder itself. Quote Link to comment Share on other sites More sharing options...
Guest colin4255 Posted February 2, 2009 Share Posted February 2, 2009 Thanks guys. I'll try a re-install, but what difference should it make whether, I put the files in store/ or store/uploads, or store/uploads/colin?? The global php.ini file actually has all the correct file paths in it - I checked and in any case cubecart detected these itself during the install process:- <?php $glob['dbdatabase'] = 'cube'; $glob['dbhost'] = 'mysql1048.servage.net'; $glob['dbpassword'] = 'addapro012'; $glob['dbprefix'] = ''; $glob['dbusername'] = 'cube'; $glob['installed'] = '1'; $glob['rootDir'] = '/mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/cube/upload'; $glob['rootRel'] = '/cube/upload/'; $glob['storeURL'] = 'http://ask4cask.co.uk/cube/upload'; ?> Is thers some 'specifc' folder name that I should upload to, in the instructions it just says upload the files to a folder of your choosing on your webserver? If I re-upload the files to 'Cube' - won't I just have the same issue but with the folder upload missing from the equation? I am afraid I need this explaining as I really don't understand why it matters if the actual paths are correct in the above file? Quote Link to comment Share on other sites More sharing options...
jerseyjoe Posted February 2, 2009 Share Posted February 2, 2009 Is there a good reason to put this store in a folder other than root? And I just satisfied myself, by looking at a few of my installations, that you uploaded the entire "uploads" folder, not just the contents of the folder. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 2, 2009 Share Posted February 2, 2009 Thanks guys. I'll try a re-install, but what difference should it make whether, I put the files in store/ or store/uploads, or store/uploads/colin?? It doesn't matter what folder you put it in...as long as you set the paths correctly in global.inc.php though remember a customer will see the path and it will appear in searches, so how do you want your path to look to someone? Most people install in the root directory or one called store, shop or something similar that makes sense to people looking at it. In the root, your path is just http://yourstore.com rather than the lengthier path you now have. Quote Link to comment Share on other sites More sharing options...
Guest colin4255 Posted February 2, 2009 Share Posted February 2, 2009 Thanks for your help so far. I tried a re-install (in this case used the directory 'Cube' - I am doing this as a test before I go live to check out the store and want to keep all the files in one folder instead of having them in the root). I did as jerseyjoe reccommended in his earlier post and go tthe exact same issue at the end of the install. I have done this enought imes now to be 100% sire I am following the install procedure - ibn fact that is so good you can't actually get anything wrong! So far as I can see the global.inc.php file has all the correct paths in it - as it alwasy does, yet I still get the exact same lists as I showed you in my first post (except the paths change depending on where I upload to) Just as I thought it makes no difference what folder I upload it to- I get just the exact same results. Quote Link to comment Share on other sites More sharing options...
jerseyjoe Posted February 3, 2009 Share Posted February 3, 2009 I see that the error msgs at www.ask4cask.co.uk/cube/ all refer to "mounted-storage" - who or what is that? How are you installing? I mean, are you creating your own MySQL database and uploading CC via FTP or or are you using some kind of installer provided by your host? Quote Link to comment Share on other sites More sharing options...
Guest colin4255 Posted February 3, 2009 Share Posted February 3, 2009 Its already been changed, but thanks for the warning! /mounted-storage/home18c/sub002/sc17496-SJHN/ask4cask.co.uk/ is the full path to the root on my server for this domain name, Cubecart determined this by itself and correctly during the install process. I have about 25 sites on this server and have stuff runiing from shopscript-free and cp-commerce working quite happily - they too determined this to be the full path to the domain on the server (although the ending tags vary according to the domain name. I used Cubecarts own installer routine to run the install having first followed their instructions regrading the uploading of all files etc. I created the mysql database first, again in line with their instructions Quote Link to comment Share on other sites More sharing options...
Guest Posted February 4, 2009 Share Posted February 4, 2009 so is this a local drive instead of a live website? if so, make sure you have php and all the other requirements running. There is a post somewhere about installing cubecart on a local pc instead of the web. Quote Link to comment Share on other sites More sharing options...
Guest colin4255 Posted February 12, 2009 Share Posted February 12, 2009 No, its not a local drive. The site is live on our web server - on the internet - not a server PC - maybe I should have been nmore explicit. The issue we belive is something to do with how our web server handles PHP sessions. Thanks for your help guys, but we're looking at this with our web host currently Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.