PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 26th, 2005, 11:36 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 10
I am totally lost with inc_features

www.virtualrealitymc.com/PhotoPost

I have tried to run one database and also now in seperate databases.

The gallery works fine either way and I can not get this inc_features to work.

I get the

line 54 and line 119 error either way I go. I have tried the uncomment and everything I have read for days and still no go

I want to put a box on the home page

www.virtualrealitymc.com that will show random photos.

What am I doing wrong?


Hope someone can help me

Mike

Last edited by mrimmer; November 26th, 2005 at 11:39 AM.
mrimmer is offline   Reply With Quote
Old November 26th, 2005, 12:21 PM   #2 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
It's a matter of selecting the right database it seems to me, my advice to you would be stick with the one database, no need to comment out those lines and report back with any success or errors then we'll go from there

-b6
b6gm6n is offline   Reply With Quote
Old November 26th, 2005, 12:26 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Also make sure if your using a table prefix for photopost make sure under edit integration options the table prefix is entered
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 26th, 2005, 04:02 PM   #4 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 10
Ok back to one database and the table prefix is pp_


Still the same problem. I know that is me and I am missing something

http://www.virtualrealitymc.com/Phot...c_features.php
mrimmer is offline   Reply With Quote
Old November 26th, 2005, 04:10 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
In your edit integration settings you must set your photopost table prefix in there
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 26th, 2005, 06:48 PM   #6 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 10
// If your PhotoPost tables have a prefix, put it here
// Example:
// pp = "pp_";
$pp_db_prefix = "pp_";

Still no go

Last edited by mrimmer; November 26th, 2005 at 06:56 PM.
mrimmer is offline   Reply With Quote
Old November 26th, 2005, 07:14 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Then it has to be something else you have edited in that file. Like do you still have the mysql and link statements uncommenting pointing to other databases
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 26th, 2005, 07:20 PM   #8 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 10
I just sent an email to support, Chuck

It has a login and password as an admin

No I do not have the file uncommented

Thanks, for all your trouble

Mike

Last edited by mrimmer; November 26th, 2005 at 07:24 PM.
mrimmer is offline   Reply With Quote
Old November 26th, 2005, 07:23 PM   #9 (permalink)
Junior Member
 
Join Date: Jan 2005
Posts: 10
Just incase I uploaded a unmodified file and still get the same error


Mike
mrimmer is offline   Reply With Quote
Old January 1st, 2006, 06:40 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Copenhagen
Posts: 41
Send a message via ICQ to W@NKER
What was the solution to this problem?
http://www.sushi-inc.dk/photopost/inc_features.php

Then I get the same errors

both vb and photopost are on same db

this is from my config-int
------------------------------------
// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/y-10147/www/forums";
$pppath = "/home/y-10147/www/photopost";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://www.sushi-inc.dk/photopost";
$vb_urlpath = "http://www.sushi-inc.dk/forums";

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://www.sushi-inc.dk/photopost/data/";

// If your PhotoPost tables have a prefix, put it here
// Example:
// PP_ = "pp_";
$pp_db_prefix = "pp_";
-------------------------------------

I have tried many things without any luck, can anyone help me here?

Thanks in advance

Mikal
W@NKER is offline   Reply With Quote
Old January 1st, 2006, 09:31 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Do you have other hacks installed?

This is the error I see

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock

That means we can't connect to mysql. Have you tried uncommenting the link statements and select database things and fill in all the proper connect info?

I tried viewing your forum but it never loads and I am on a cable line connection
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 2nd, 2006, 06:14 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Copenhagen
Posts: 41
Send a message via ICQ to W@NKER
Hi Chuck

Yes I have tried uncommenting the link statements and select database. When I do that it only says that it cant connect to the database because username and password doesnt match (something like that).

But it is wierd because photopost is working fine, so it should work without uncommenting in inc_features.php?

My site works now, it seems that my hosting provider had some problems earlier. but it should work now. so you should be able to connect now.

Thanks in advance
W@NKER is offline   Reply With Quote
Old January 2nd, 2006, 10:10 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Hello You need to fill out the exact information in the link statement for user password host and database names. If your getting an error saying the info is wrong then it is not entered correctly.


I still see the mysql can not connect through socket issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 2nd, 2006, 10:40 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Copenhagen
Posts: 41
Send a message via ICQ to W@NKER
ok I have changed it to this:

-----------------------------------------
$link = mysql_connect ("mysql.sushi-inc.dk", "xxxx", "7qxxxxx") or die('I cannot connect to the database.');
mysql_select_db ("tarzan")or die("Could not select photopost database");

// Number of photos to display
$num_display = 1;

// Number of columns (1 for vertical)
$columns = 1;

// which type of images do you want to show (random, most_view, latest)
$q_switch = "random";
-------------------------------------------------

Is that correct?

But now I'm getting this:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/y-10147/www/photopost/inc_features.php on line 54

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/y-10147/www/photopost/inc_features.php on line 119
W@NKER is offline   Reply With Quote
Old January 2nd, 2006, 10:50 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Okay so its not getting the information from your config-int.php file at all

Do a test in the file place your $pp_db_prefix line like so after $qswitch and fill out the prefix

$pp_db_prefix = "pp_";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 2nd, 2006, 10:59 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Copenhagen
Posts: 41
Send a message via ICQ to W@NKER
Thanks!

That did the trick
But why it don't get the info from config-int. I dont know
W@NKER is offline   Reply With Quote
Old January 2nd, 2006, 11:18 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Well I dont know enough about your install to say. Is the variable truly set in the config-int.php?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 2nd, 2006, 11:26 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Jul 2003
Location: Copenhagen
Posts: 41
Send a message via ICQ to W@NKER
I just checked and no it was set to vb_

Well now I will stop fiddling with this when I'm to tired

Sorry bout that!

But again thanks for your help
W@NKER is offline   Reply With Quote
Old January 2nd, 2006, 12:05 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Well then there was the issue
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LOST! Please Help Prodimysterio Installs and Upgrade - vBulletin 3.0.X 7 April 21st, 2005 07:57 AM
Classified Installation totally gone to hell. GoodGeeks Classifieds Installation & Upgrades 0 April 13th, 2005 05:40 PM
Totally lost on install! SoCalrailFan Photopost Pro Installation & Upgrades 4 April 4th, 2005 07:50 PM
Totally tanked... nimzie Photopost Pro Installation & Upgrades 4 February 17th, 2005 09:27 AM


All times are GMT -5. The time now is 10:02 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0