Jump to content

How to install on local pc?


Guest djai

Recommended Posts

;) I am testing out cubecart on my own pc with localhost.

The installation manual doesnt go into local setting up.

Is there a manual to setup within your pc?

i got apache, php, mysql setup.

I dont know where the sql file is to install into the database of mysql.

on the installation setup, all the permission are set to n/a. how do i change them? working only with local.

do i need to set up conf files first before installing?

running winxp.

help will be appreciated.

thanks in advance~ :sourcerer:

Link to comment
Share on other sites

Guest theorbo

I have it installed fine on my local server. Using XAMPP, which I highly recommend since all parts of the whole (apache2, php, mysql, perl, pear, etc.) play nicely together without intervention (been using XAMPP for about 6 years - really great piece of software....)

I didn't do a thing "odd".... I created a database named ccrt1, user is root w/password. The whole permissions thing isn't problematic for me.

Try XAMPP....

Link to comment
Share on other sites

I would also recomend EasyPHP for a more beginers start... its what i used before i made enough money to but a proper supper server ;)...

But yea its easy as the name sugests to use.. it has MySQL, PHP Apache all installed and configureable from the one package... it just pulls everything together... as well as that they units are still the correct software so you can still upgrade each part seporately and you can still add mods to the Apache setup...

Link to comment
Share on other sites

i've auto generated the global.inc and sql db file, i added the sql in dos:

c:\mysql\bin\mysql cubecart < db.sql

the table worked, and db works, when i go myphpadmin i can see all the tables. Then i added the global.inc.php into the include dir so mysql is up and running A OK! . Now i open http://localhost:8080/cubecart/upload i get message:

1045: Access denied for user 'cubed'@'localhost' (using password: YES)

what to do next?

thank you~

ps. i do use xampp

(actually used mysql dir: c:\xampp\mysql\bin\mysql)

Link to comment
Share on other sites

after so many tries and variation, still end up with the error

1045: Access denied for user 'cubed'@'localhost' (using password: YES)

how can i solve this?

Link to comment
Share on other sites

:)

doesnt work still, gives the same error except this time. password: NO since i changed to dbpass = ""

MySQL Error Occured

1045: Access denied for user 'cc'@'localhost' (using password: NO)

quick fix anyone? ty

Link to comment
Share on other sites

im so smart T_T... yeah right

anyway, i got it fixed.

I still don't know why, but all I did was changed the dbusername to root.

<?php

$glob['dbdatabase'] = 'cc_db';

$glob['dbhost'] = 'localhost';

$glob['dbpassword'] = '';

$glob['dbprefix'] = 'store1_';

$glob['dbusername'] = 'root';

$glob['installed'] = '1';

$glob['rootDir'] = 'C:\\xampp\\htdocs\\Cubecart\\upload';

$glob['rootRel'] = '/cubecart/upload/';

$glob['storeURL'] = 'http://localhost/cubecart/upload/';

?>

this works and showsup.

the thing is I dont know why i cant set the dbusername to something that i want. what if its going live? won't it be also root? cant you have own dbusername?

Link to comment
Share on other sites

  • 2 weeks later...

doesn't work for me. I used to know the answer but I have totally fogotten because it's been too long since I did a new install. Use it or lose it.

Meanwhile, I have a dead installation. Mewanwhile, I wonder why, since this comes up so often, it is not avoided by a change in the installation tool.

May I ask someone to help with completing this installation? And - tell me again how it is done?

I'll provide the server login info in a PM for some kind soul.

TIA

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...