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 > General Forums > PhotoPost Product FAQs

PhotoPost Product FAQs Answers to your most frequently asked questions about all our products.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old June 6th, 2008, 01:15 PM   #1
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 75,527
vBulletin Installation/Integration Common Issues and Resolutions.

The following tutorial covers all main common issues found when installing our Photopost Pro, Reviewpost and Photopost Classifieds Products with vBulletin.

1)

Quote:
I cannot connect to the Members database. []
This issue is commonly found when running the install script the incorrect mysql database information is entered in the user database portion of the config for vbulletin. The correct resolution would be to run the install script and in the user database portion enter your vbulletin database host, database name, datebase name and password. This information can be found in your config.php file of vbulletin in the forum installation subdirectory includes.

2)

Quote:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /xxx/xxx/xxx/xxx/header-inc.php on line 47

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /xxx/xxx/xxx/xxx/header-inc.php on line 48
This problem is caused when on the last step of install when integrating with vbulletin where you enter the server path to your forum gallery and the urls the server path to vbulletin is not entered correctly. One can always reinstall but the easiest most direct resolution is to ftp to your server as you did when you uploaded your files and to go to your photopost install directory and edit the config-int.php, config-intr.php or config-intc.php file depending on your product and find the following line below and enter the correct server path to your vbulletin install and save that file back to the server. You will then have no problems.

Quote:
$vbpath = "/var/www/html/forum";

As an example always place your correct path statement on that line
3) Style Issues and Missing Images

This is a very common issue and has to do with the fact that vbulletin codes their application with relative urls and does not put their global url variable before links. Now we code our application to work with an existing vbulletin image directory but when users install custom stylesheets which usually have those custom images located in a subdirectory under images or a whole new directory one must update the relative image directory paths to a full url. To do this you must go to your vBulletin install and select

Styles & Templates

From there you must select Style Manager and on the right pane you have a list of all your included styles. Select any new custom style you have included and by default all style options is selected hit GO. Now once there the 3rd box of options down there is called Image Paths. Under there you will see a whole bunch of relative paths like so as an example.

Quote:
images/satellite/misc
Now see the use of a relative path like this works in vbulletin because the path and images exist under your forum directory however when you try to show that style over your photopost directory that directory and images do not exist under your photopost directory. Therefore you need to tell Photopost where the images are located by simply correcting those relative paths to say this.

Quote:

http://www.mydomain.com/forum/images/satellite/misc

or

/forum/images/satellite/misc
Either should work although I always prefer to use a full url. Adding a slash on front makes the page look for those images with your base url in front of the relative link.

Once you do this for any custom style you will not have any problems with the style images being missing.

4) Link Issues - NOT FOUND

This is a common issue when users start to add vBulletin hacks and other such program links into their header and navbar and use a relative link to such a file like so in either of those templates.

Quote:
arcade.php
Correct url would be

The new correct link would need to be changed in either of those templates in your vBulletin Admin panel under Style & Templates => Style Manager => Your specific style and selecting Edit Templates from the drop down and hit GO. Once you get the list of templates depending on where your link is you would edit the header or most notably your navbar templates find the relative link and make it a full url to that file as noted above. Once quite addendum. If you have vBulletin blog installed the relative link to blog.php is located in the blog_navbar template.

5)

Quote:

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /xxx/xxx/xxx/xxx/forums/vb3.php on line
This error is usually caused by one of two issues and rerunning the install script and inputting the correct information will fix this issue.

a) In the initial config settings of install of photopost the wrong database information under User Database Settings.

b) If the config options are correct when running install where you are asked the vbulletin mysql table prefix on STEP 4 you must input that information there.

You can find the correct vbulletin database and table prefix settings in your vbulletin config.php file in the includes directory of your forum installation.

6)

Code:
Content visible to verified customers only.
This would be caused by one of two issues.

a) If you have upgraded your applications and moved the vbulletin install or changed the database info you might be connecting to an old database and new users might not exist in that old database.

b) Your vbulletin license number is incorrect in your config settings.

To correct this issue verify that the information for the vBulletin database is entered correctly in the photopost config-inc.php for your user database settings matched against your vbulletin config settings. Or you can make sure on the license number is correct in our config file as well like so.

Code:
Content visible to verified customers only.
You may find the correct database or license number in your vbulletin config.php file in the includes subdirectory of your vBulletin install.

b) Your vbulletin license number is incorrect in your config settings.

To correct this issue verify that the information for the vBulletin database is entered correctly in the photopost config-inc.php for your user database settings matched against your vbulletin config settings. Or you can make sure on the license number is correct in our config file as well like so.

Code:
Content visible to verified customers only.
You can find your vb cookie salt defined in the functions.php file near the top of that file which is in the vbulletin includes directory.

7) Cookies not being recognized or dropped

For a login to be recognized over your entire forum or photopost product since they may exist on different subdomains you must set both your forum cookie settings and photopost cookie settings the same. Your cookie prefix can be found in your vbulletin config.php file in the includes subdirectory of vBulletin forum directory.

This is the preferred setting

Quote:
cookie path set to /

cookie prefix usually set to bb

cookie domain set to .mysite.com so that the cookie is read over all subdirectories.
If you set cookies like this you will have no issues. You can set your Photopost cookie settings under

Admin => Cookie Settings when clicking the photopost Admin link on our menubar.

You can set your vbulletin cookie settings by hitting admincp link and in vBulletin Admin Panel going to the following

Admincp => vBulletin Options => vBulletin Options => Cookie and HTTP Header Options and hit Edit Settings

8) You do not find any navigation for the Gallery product and are using vBulletin 4.2x

This is usually caused by one of two issues.

a) You have not installed the photopost vbulletin xml plugins which is outlined in our install or upgrade documentation.

b) If the xml plugins are installed then make sure you to into your style and template manager and revert the navbar template to default. This is because you can not edit the vb navbar template like you did in prior versions of vb without breaking the new vbulletin navigation system.

9) Umlates and other special characters do not look right.

This is an easy fix. Make sure your database encoding and language file encoding match that of your vbulletin forum. For instance by default we usually use utf8 encoding as that is the best recognized way to go to display all special characters. However for instance some vbulletin installs may use iso-8859-1. You can not mix and match encodings so you would set photopost database encoding to iso-8859-1 and if your using a foreign language you might need to edit that language and make sure it is saved in the encoding you are using.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.

Last edited by Chuck S; December 2nd, 2013 at 08:03 PM.
Chuck S is offline  
Closed Thread


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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
INstallation problems with integration with vBulletin 3.5 Joel_S General Discussion 6 July 8th, 2006 04:53 PM
three resolutions ? dafire Before You Buy 6 April 27th, 2005 04:05 PM


All times are GMT -5. The time now is 08:14 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.