View Single Post
Old April 20th, 2010, 09:12 PM   #30 (permalink)
hzzhzz
Junior Member
Verified Customer
 
Join Date: Apr 2007
Location: ksa
Posts: 20
Hi there ,

when i run script i have :

Quote:
Invalid SQL:
SELECT id FROM pp_photos WHERE importimageid='1';
MySQL Error : Table 'amorat_vb380.pp_photos' doesn't exist
the ( amorat_vb380 ) is the vb database name !!

and i install the photopost to another database name

so should be get like that (photopost.pp_photos)

i uncomment in : inc_features.php

// If you use the same userid/password to access both databases, you don't need to
// uncomment the mysql_connect - this is only if you require different ids to access
// the PhotoPost database.
//
//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
//mysql_select_db ("pp_database")or die("Could not select photopost database");

like :

Quote:
$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
mysql_select_db ("pp_database")or die("Could not select photopost database");
NOW , just copy the member name and count of images album of forum :

http://www.amorat.net/album/showmembers.php/cat/500

without images ??

Another thinks , when update ( members galleries ) i have this message :


Quote:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT id FROM pp_categories WHERE cat=500
i think should be :

Quote:
SELECT id FROM pp_categories WHERE id=500

Last edited by hzzhzz; April 20th, 2010 at 09:43 PM.
hzzhzz is offline   Reply With Quote