Guest suek751 Posted November 9, 2005 Share Posted November 9, 2005 Hi, I have read the instructions for changing the directory at http://www.cubecart.com/site/forums/index....showtopic=12724 http://www.cubecart.com/site/forums/index....showtopic=12810 But my global.inc.php document doesn't look like it should. It says: [<?php $glob['dbdatabase'] = 'modelme_cubecart'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = '[affiliate password]'; $glob['dbprefix'] = ''; $glob['dbusername'] = '[affiliate login]'; $glob['installed'] = '1'; $glob['rootDir'] = '/home/modelme/public_html/CubeCart_3[1].0.5/upload'; $glob['rootRel'] = '/CubeCart_3[1].0.5/upload/'; $glob['storeURL'] = 'http://www.site.com/CubeCart_3[1].0.5/upload'; ?>] I have disabled my affiliate program (haven't been able to integrate it yet). Appreciate the help so I can get rid of my very long url! Thanks, Sue Quote Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 where do you want it in main dir or sub dir? eg www.yourdomain.com = main dir(straight into shop) www.yourdomain.com/shop = sub dir (have your own home page with a link to shop) wot do you want the url to be pls? Quote Link to comment Share on other sites More sharing options...
Guest suek751 Posted November 9, 2005 Share Posted November 9, 2005 Thanks for the fast post... Quote Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 first off you need to create a dir called store u cant have store.php thats a file im afraid. so in ftp client click on www folder then create new folder inside it called store. move all files from current folder(upload) on server and paste into new store folder. then in global.inc.php look at and of code <?php $glob['dbdatabase'] = 'modelme_cubecart'; $glob['dbhost'] = 'localhost'; $glob['dbpassword'] = '[affiliate password]'; $glob['dbprefix'] = ''; $glob['dbusername'] = '[affiliate login]'; $glob['installed'] = '1'; $glob['rootDir'] = '/home/modelme/public_html/CubeCart_3[1].0.5/upload'; $glob['rootRel'] = '/CubeCart_3[1].0.5/upload/'; $glob['storeURL'] = 'http://www.modelmekids.com/CubeCart_3[1].0.5/upload'; ?> change these 3 lines to $glob['rootDir'] = '/home/modelme/public_html/CubeCart_3[1].0.5/upload'; $glob['rootRel'] = '/CubeCart_3[1].0.5/upload/'; $glob['storeURL'] = 'http://www.modelmekids.com/CubeCart_3[1].0.5/upload'; these $glob['rootDir'] = '/home/modelme/public_html/store'; $glob['rootRel'] = '/store/'; $glob['storeURL'] = 'http://www.modelmekids.com/store'; obviously fill the database user n pass bits in again same as before. and i believe thats it. Quote Link to comment Share on other sites More sharing options...
Guest suek751 Posted November 9, 2005 Share Posted November 9, 2005 very nice, it worked I just need to add my product images back in. Much shorter url!! Thank you, Sue Quote Link to comment Share on other sites More sharing options...
Guest suek751 Posted November 9, 2005 Share Posted November 9, 2005 I spoke to soon... Trying to upload thumbnails for products I get the following error code: Warning: move_uploaded_file(/home/modelme/public_html/store/images/uploads/Copy_of_timeforschoolthumbnail.gif): failed to open stream: Permission denied in /home/modelme/public_html/store/admin/filemanager/upload.php on line 98 Warning: move_uploaded_file(): Unable to move '/tmp/phpGWf2ky' to '/home/modelme/public_html/store/images/uploads/Copy_of_timeforschoolthumbnail.gif' in /home/modelme/public_html/store/admin/filemanager/upload.php on line 98 Any ideas? Thanks again, Sue Quote Link to comment Share on other sites More sharing options...
Guest Posted November 9, 2005 Share Posted November 9, 2005 where are you getting the error? are you uploading thumbs from your comp to new dir on server? Quote Link to comment Share on other sites More sharing options...
Guest suek751 Posted November 9, 2005 Share Posted November 9, 2005 Hi, I logged in to admin, go to "view products", "upload new image" and get the error. When I try "browse existing images", I get Warning: sort() expects parameter 1 to be array, null given in /home/modelme/public_html/store/admin/filemanager/browse.php on line 51 Sue 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.