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 Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old April 12th, 2005, 10:59 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 33
Question mysql array and stripped slashes error

I've got the latest version of vB and photopost as of 3 days ago.

Installation appears to have gone fine on the photopost along with the integration except for this error.

Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in homevirtualsite68fstvarwwwhtmlgalleryforumsvb3.php on line 25
I've read and read a bunch of posts on here and people seem to have similar errors but not exactly mine. Or at least the one's I have read.

1) What the heck is causing all my slashes to be removed from that error?
2) I'm guessing I need to do something in phpMyAdmin to edit some db table but can't sort out which table. I made sure config-itc and -int had the correct info, then I looked at the db for the pp_settings and made sure that had the right info. I'm still at a loss.

Mind you I'm not very good at php so maybe its right in front of me and I just don't see the error.

My gallery can be found at www.MortysTwistedWorld.com/gallery

Also, when I try to log into /gallery/adm-index.php I get redirected to the gallery/index.php page. I'm assuming that's an error correct? Or have all the editing permissions been integrated into my vB admin panel also now?

Thanks for any help.
MortysTW is offline   Reply With Quote
Old April 12th, 2005, 11:05 AM   #2 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 33
Another thing, that homevirtualsite68fstvarwwwhtmlgalleryforumsvb3.php should actually not have the "site68" in it. Should read something more like /home/virtual/mortystwistedworld.com/var/www/html/gallery/forums/vb3.php

Not sure what file is telling it to use the site68 or what db table.
MortysTW is offline   Reply With Quote
Old April 12th, 2005, 04:01 PM   #3 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,319
Hi..

I would recheck your vbulletin path in config-int
also whats your vbulletin database table prefix? make sure this is set correctly in the setup/install of photopost

-T
b6gm6n is offline   Reply With Quote
Old April 12th, 2005, 05:03 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 33
As for the vb_ database prefix name, how do I edit it now that PhotoPost is already installed?

And here is my config-int

Quote:
// We need to know the server paths to both your vB installation and your PhotoPost installation
$vbpath = "/home/virtual/mortystwistedworld.com/var/www/html/forums";
$pppath = "/home/virtual/mortystwistedworld.com/var/www/html/gallery";

// We need the URL path to your PhotoPost and vb installation
$url_path = "http://www.mortystwistedworld.com/gallery";
$vb_urlpath = "http://www.mortystwistedworld.com/forums";

// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://www.mortystwistedworld.com/gallery/data/";

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

// If you use the mobile phone integration, set this variable to the CatID for the gallery
define( MOBILE_CAT, -1 );
Any other ideas?
MortysTW is offline   Reply With Quote
Old April 13th, 2005, 08:05 AM   #5 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Well, the error is giving you the path to the file which it is executing, however the error it is showing is saying that it cannot query the vb3 user database. I would check your config-inc.php settings to be sure that you have the vB3 user database set properly for the variables:

$host_bb="localhost";
$database_bb="photopost";
$user_bb="root";
$password_bb="";

If you look at vb3.php at line 25, you'll see the simple SELECTs on the vb3 database are failing.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old April 13th, 2005, 02:15 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Apr 2005
Posts: 33
I deleted, reinstalled, deleted, reinstalled, and as far as I know, I never changed anything. But the installation finally went clean. So all is well now.

Thanks.
MortysTW 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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
function.array-merge error Bryant Bugs - vBulletin 3.5.X 12 January 12th, 2006 09:50 AM
Image names with caps get stripped to lower before upload imported_sleep747 Installs and Upgrade - vBulletin 3.0.X 3 January 4th, 2005 06:05 PM
1.8: Slashes problem djroketboy Classifieds Bug Reports 12 August 7th, 2004 11:32 AM
[1.8c] More Slashes - apostrophes memobug Classifieds Bug Reports 5 July 26th, 2004 11:56 PM


All times are GMT -5. The time now is 10:20 AM.

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