FreeWebshop.org
June 20, 2013, 02:19:30 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Support the project. Please consider to donate a small amount
 
   Home   Help Search Login Register  
Pages: 1 [2]   Go Down
  Print  
Author Topic: Move to other server  (Read 3499 times)
iloja
chaozz.nl Starter
*
Posts: 14


« Reply #15 on: December 03, 2009, 11:43:02 AM »

I really think that the problem is related with the download iteself, because it is running fine on a server and when i move to another (internet or local) - one way or another - it crashes.
Chinook, all possibilities of error should only respect to the script itself and not with the server configuration, because it was with XAMPP that the script was tested a year an half ago and in internet servers we do not control a lot of things.
I use Filezilla in automatic mode; is is possible?
Logged
Chinook
Global Moderator
chaozz.nl Senior
*****
Posts: 765


« Reply #16 on: December 03, 2009, 12:37:38 PM »

If it would be a script error, i.e. you would have forgotten to delete or rename install php a message telling you so would appear.

The error you are receiving "please run the installation first" somehow makes me think that the script is able to connect to mysql but cannot find a database.
Since if it would be able to connect to mysql and find the database, and something else would be wrong, the errormessage would be different. 
I.e. if it would be able to connect to mysql but not to your shop's database because the user information provided in settings.inc.php does not match with the mysql user, or this mysql user does not have sufficient permissions for your shop's database, you will get the error 'could not connect to the database. Please check your settings'.

Check includes/connectdb.inc.php for yourselves and you will see the excact errormessage you are receiving, as well as the one i described above.

You wrote that you set the permissions right manualy, so i assume this is ok, the only thing i can think of is:
doublecheck the information provided in settings.inc.php with the mysql settings.
Logged

99% of all computerproblems are sitting in front of the screen.
iloja
chaozz.nl Starter
*
Posts: 14


« Reply #17 on: December 03, 2009, 02:55:53 PM »

Yu are absolutely right Chinook
I put the files in the (new) server and went to see the message in connectdb.inc.php:
if ($ dblocation == "" | | $ dbuser == "" | | $ dbpass == "") (echo "Please run <h1> <a href=\"install.php\"> the installation </ a > first </ h1> "; exit;)
which is related to the missing data in (one or more of) these 3 fields.
I downloaded settings.inc.php (after place it properly on the server) and all lines are commented (like using / * xxxxxxx * / in all file); of course all data is missing... I put it again, and again the same problem (data missing)
Please, how can i solve this?
Logged
Chinook
Global Moderator
chaozz.nl Senior
*****
Posts: 765


« Reply #18 on: December 03, 2009, 05:03:13 PM »

your settings.inc.php file should look like this:

?>
<?php
    // database values
    $dbtablesprefix = "fws_";
    $dblocation = "serverlocation";
    $dbname = "nameofyourshopsdatabase";
    $dbuser = "username";
    $dbpass = "password";
?>


Change it accordingly (using your own values ofcourse  Grin ) and upload the file.


BTW... just to make sure... i suppose you exported your shops databasetables from the old server and import them into the new server? And when you did so, no errors what so ever were generated?
Logged

99% of all computerproblems are sitting in front of the screen.
iloja
chaozz.nl Starter
*
Posts: 14


« Reply #19 on: December 03, 2009, 07:01:52 PM »

The file was with the correct data but inexplicably the file on the server was with the all lines on the same line with a / / before - such as: / / database values $ dbtablesprefix = "fws_"; $ dblocation = "ServerLocation"...... , the data disappeared. Now is fixed.
I imported the database without any error.
The message to instal disappeared, but now appears only a blank page!?!?!
 Undecided
Logged
Chinook
Global Moderator
chaozz.nl Senior
*****
Posts: 765


« Reply #20 on: December 03, 2009, 07:40:28 PM »

 Grin okay.... this is what i was expecting... most probably what you are having now is the same issue you are having on the local machine.

Time to do the trial and error procedure i described in one of my previous posts (change template, remove portugese lang file)
Execute the suggested procedure on your local machine first and post the result.
Logged

99% of all computerproblems are sitting in front of the screen.
Invange09
chaozz.nl Starter
*
Posts: 7


« Reply #21 on: December 17, 2009, 12:06:23 PM »

I moved a webid site to an other server.

I changed the databasename, username and password in includesdata.inc.php

The site works, but login doesnt.

With a clean install everything works.

Is there an other file that needs to be configured when moving an existing webid site to an other server?

Thanks.......
Logged
Chinook
Global Moderator
chaozz.nl Senior
*****
Posts: 765


« Reply #22 on: December 17, 2009, 09:03:40 PM »

i assume you meant that you did change database location, name, login and password in includes/settings.inc.php?
Logged

99% of all computerproblems are sitting in front of the screen.
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!