good afternoon, i'm having some troubles migrating my dolphin installation from a windows server to a linux one
I already nodified the header.inc.php but still get a server internal error
i'm using apache2 (2.2.16) with php (5.3.3)
I could help with the move? what are the step I should take?
|
I would think you need to post more of the errors your getting.
This is to vague of a question..
ManOfTeal.COM a Proud UNA site, six years running strong! |
First. Make sure the .htaccess root file was moved as well. Commonly missed file.
Second. All permissions must be checked. Windows and Linux handle things differently when it comes to permissions.
Refer to the install docs for proper permission settings. http://www.boonex.com/trac/dolphin/wiki/DetailedInstall
Also make sure the root .htaccess file is readable. All files should start with mode 664 and all folders at mode 755 except for the ones specified in the install instructions.
It would help to have more details about your errors.
https://www.deanbassett.com |
ok, now .htaccess and the files mode 664 and all folders at mode 755.
Error
Database query error
|
Now you need to check your sites log files for the full error. That red database error is not enough. The exact error should also have been sent to the bugReportMail email address thats setup in inc/header.inc.php so check that address for the full error.
The most likely problem is in the database. Windows does not care about case sensitivy in table names in the database. Linux does care. Quite often when exporting and importing a database between windows and linux the table names change to all lower case. Example Profiles with a capital P becomes profiles with a lowercase p
If that is the problem the only way to fix it is to manually correct each one that is incorrect using phpMyAdmin.
But you need that full error first before you can proceed.
https://www.deanbassett.com |
ok, now .htaccess and the files mode 664 and all folders at mode 755.
Error
Database query error
Oh and you did not mention if you also made sure the permissions for files specified in the install docs per the link i specified have also been properly set.
https://www.deanbassett.com |
Sorry, about all this trouble your having, but moving from windows to linux or viceversa is not as easy as moving to a new server running the same OS. A OS change makes the process far more difficult due to filesystem and case sensitivity differences. https://www.deanbassett.com |
the error is
Database error in
Query: SELECT COUNT(`Profiles`.`ID`) FROM `Profiles` WHERE `Profiles`.`Status` = 'Active' and (`Profiles`.`Couple` = 0 or `Profiles`.`Couple` > `Profiles`.`ID`) Mysql error: Table 'dolphin.Profiles' doesn't exist
Found error in the file '/var/www/digitalchat.cl/comunidad/templates/base/scripts/BxBaseIndexPageView.php' at line 356.
Called 'db_value' function with erroneous argument #0.
|
Yup. Appears to be a case sensitivity problem. You need to edit the database with phpMyAdmin. Look for the table profiles. The error tells you what it's looking for and states it cannot find it.
I believe you will find it says profiles when it should be Profiles
There will be a lot more. I can't really remember, but i believe there are over 20 tables that will give you problems.
https://www.deanbassett.com |