Jump to content

url too long


Guest suek751

Recommended Posts

Guest suek751

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest suek751

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

Link to comment
Share on other sites

Guest suek751

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...