 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 14th, 2005, 07:12 AM
|
#1 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 11
| Problem with install.php
After installing PHP, MySQL, and PhotoPost as instructed, I am attempting to run install.php.
I get the "Welcome to PhotoPost" install screen with the "Click here to start a fresh install -->" link.
But when I click that link the browser refreshes and returns to the same thing.
|
| |
March 14th, 2005, 10:18 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Edit your php.ini and try setting
register_long_arrays to ON
|
| |
March 14th, 2005, 10:30 AM
|
#3 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 11
|
Ok, we're past that issue. I gave up on PHP 5.0.3 (you may want to make a note of that) and went back to V4.
I'm now at the point where MySQL is being accessed and I'm getting:
I cannot connect to the PhotoPost MySQL server. [host:$host][mysql_user:$mysql_user][mysql_password:$mysql_password]. Check your config-inc.php for the correct settings and rerun.
I do have MySQL installed and have a user "photopost" and have double checked the password.
I can connect to MySQL from the MySQL administrator control panel so it seems that part is OK.
|
| |
March 14th, 2005, 11:45 AM
|
#4 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 11
|
You should pay me for finding these answers for you. Here's the problem:
1) install.php does not do any MySQL error reporting. So the real issue is hidden. So adding a call to mysql_error() gives the hint:
"Client does not support authentication protocol requested by server; consider upgrading MySQL client"
2) At least that is something that can be found on the MySQL documentation site: http://dev.mysql.com/doc/mysql/en/old-client.html
The problems here from my viewpoint are:
1) You don't say that this might be a problem in your instructions.
2) You don't say to use a specific version of MySQL.
3) You don't report this error and leave your customers in confusion.
Regards,
Joe
|
| |
March 14th, 2005, 02:07 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Of course we use mysql error reporting what do you think this is Quote: |
I cannot connect to the PhotoPost MySQL server. [host:$host][mysql_user:$mysql_user][mysql_password:$mysql_password]. Check your config-inc.php for the correct settings and rerun.
| Your issue is simple the mysql info your using is incorrect. Either the host database name username or password are incorrect.
|
| |
March 14th, 2005, 04:29 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Well I see what your saying and yes if you dont give the user permissions to the database the issue is still the same. The user info to the database is wrong.
|
| |
March 14th, 2005, 05:06 PM
|
#8 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 17
|  Touché! I am pretty sure though it is the second issue with the password... I don't understand it (not familiar enough with MySQL) but it worked for me when I was having the same errors... I guess it is a SQL 4.1 and older client API issue...which is also a PHP 4.3.10 issue which is compiled with an older MySQL client API.
|
| |
March 14th, 2005, 05:21 PM
|
#9 (permalink)
| | Registered User
Join Date: Jun 2004
Posts: 2
|
I cannot connect to the PhotoPost MySQL server. [host:$host][mysql_user:$mysql_user][mysql_password:$mysql_password]. Check your config-inc.php for the correct settings and rerun.
I am sure that you have checked the password and still it doesn't work
Under Windows try WINMYSQLADMIN and make my.ini file
Search Windows directory to my.ini and what you see is a password who I bett you did'nt know '
Place this in user and pass in config-ini and YEP its works. Seems WHICH user installed MySql....Administrator or User with Admin priveleges Very strange
More problems....I will help you
|
| |
March 14th, 2005, 06:34 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,654
|
Make sure to clear all cookies and cache and try again.
|
| |
March 15th, 2005, 12:48 PM
|
#11 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 11
|
No, the problem was not the user permissions or the password. Please see the MySQL information at: http://dev.mysql.com/doc/mysql/en/old-client.html
As I referenced it above. It seems that you are using "old" client methods from MySQL's point of view and the fix they describe solved the issue.
|
| |
March 15th, 2005, 12:50 PM
|
#12 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 11
|
And just to defend my reputation here. The install.php script does NOT report the MySQL error details, it simply says there was an error.
MySQL said: "Client does not support authentication protocol requested by server; consider upgrading MySQL client"
And no amount of config file twiddling would have resolved this issue.
Is it possible that the version of MySQL that I'm using:
MySQL 4.1 -- Generally Available (GA) release (recommended)
is NOT fully compatible with PhotoPost?
|
| |
March 15th, 2005, 01:48 PM
|
#13 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 17
|
Thank you, that article you mentioned specifically mentions the password fix as a possible solution. So in fact, that was exactly the problem... and I listed what exactly the solution was, which is modifying your user password to the older hash algorithim. Apparently you can also modify the mysql server install to include the older hash, but given your inexperience with MySQL and my own, changing the password of your account to the old style seems the easiest.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 10:52 PM. | |