 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
March 22nd, 2006, 09:12 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
| Installing - Member Database error
up until I got this:
Warning: mysql_connect(): Unknown MySQL Server Host ' ' (0) in /home/content/t/r/a/trailertalk1/html/pp-classifieds/pp-inc.php on line 159
I cannot connect to the Members database. []
Can someone help?
Last edited by horsetrailertalk; March 22nd, 2006 at 09:56 AM.
|
| |
March 22nd, 2006, 09:24 AM
|
#2 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Hello,
Few things please.
What are your plans for Classifieds ?
- Standalone
- Forum integration: If so what forum and Ver., shared DB or 2DB's ? |
| |
March 22nd, 2006, 09:25 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Integrating with Vbulletin 3.5.4
|
| |
March 22nd, 2006, 09:38 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
wanting to share the member database. Using current forum members
|
| |
March 22nd, 2006, 10:03 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Make sure in the config section of install you are placing the proper variables. Your host is not correct for mysql
|
| |
March 22nd, 2006, 10:06 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
hmmmm...It runs the zip and installs everything in the database...so wouldn't that mean that the host is correct being that it created the tables?
i got lost on the config-inc.php needing to be 777? So I didn't change any of that because I don't know how.
Would that have anything to do with it?
|
| |
March 22nd, 2006, 10:17 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
You config needs to be 666
Here are the install instructions http://www.photopost.com/class/installphp.html
Your members database info is what I see is incorrect not the photopost info.
|
| |
March 22nd, 2006, 10:30 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Sorry for sounding stupid but where do I go to change that setting?
I printed off the directions and following them step by step.
Your instructions say:
All permissions for .php and .sql files should be set to chmod 644, except for config-inc.php and config-int.php which need to be 777 for the install script to update it. In your stylesheets and templates directory you will need to change the files .css and .tmpl to also have write permissions so any modifications done through the admin can be updated.
I do not see anything there that says 666. Are you talking about the ppclassified config file or the vbulletin config ??
|
| |
March 22nd, 2006, 11:19 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
On install first thing you enter is the database info for classifieds and then the database info for vbulletin in your case. The error you get in your first post on install tells me the database info is incorrect for vb |
| |
March 22nd, 2006, 11:24 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
User Database Host (enter same info as above if not integrating with a third party forum)
Is this what you are referring to?
I am integrating with a third party forum.....
I am and can use the same MySql database that my forum is running on correct?
|
| |
March 22nd, 2006, 11:41 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
Yes you can but whatever you enter needs to be accurate.
Your telling us you get this error
I cannot connect to the Members database.
That tells me the mysql info for the user database is incorrect.
|
| |
March 22nd, 2006, 11:46 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Let me get this straight.
If I am installing to the same database my forum is running on, and it connects and writes to the data base up to the part where it asks for integration...
I am giving it the wrong mysql info??
Well then how does it connect and write everything else?
|
| |
March 22nd, 2006, 12:03 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
Can someone here help or not? I have been working on this since 8 this morning. I can use some help.
Maybe be just a little more specific if you don't mind.
I had no problem installing the vbulletin and the adsnew...
This however is NOT an easy integration.
|
| |
March 22nd, 2006, 12:10 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
You have not entered anything under the user database settings when your installing it is empty.
If you are installing in the same database as the forum enter that database info in the user database part
|
| |
March 22nd, 2006, 12:31 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
OK Chuck...i got it installed...I choose to run the VB3 headers on the config page...I now get this:
Warning: chdir(): No such file or directory (errno 2) in /home/content/t/r/a/trailertalk1/html/pp-classifieds/header-inc.php on line 60
Warning: main(./global.php): failed to open stream: No such file or directory in /home/content/t/r/a/trailertalk1/html/pp-classifieds/header-inc.php on line 61
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/content/t/r/a/trailertalk1/html/pp-classifieds/header-inc.php on line 61
|
| |
March 22nd, 2006, 12:37 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
On the last step of install your asked the forum server path and this was entered incorrectly
You can edit the file config-int.php and correct the $vbpath variable to your correct server path of vb |
| |
March 22nd, 2006, 12:39 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
config-int.php or config-intc.php?
|
| |
March 22nd, 2006, 12:41 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
you have classifieds config-intc.php
|
| |
March 22nd, 2006, 12:43 PM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 96
|
ok...thanks for the help...
i am just unsure what it should be. on my server my vb is on the parent directory...straight at www.horsetrailertalk.com
Should it have that long string? or just www.horsetrailertalk.com?? |
| |
March 22nd, 2006, 01:03 PM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,699
|
No this is server path not url
Look at your $ppath variable and try entering that on the $vbpath line minus of course the photopost directory |
| | |
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 09:21 PM. | |