 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
March 11th, 2005, 11:53 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 101
| vB3 integration problem
When I go to my main vB forum index, it loads fine. However, when I add
include('./photopost/inc_features.php');
include('./photopost/inc_photopost.php');
to the REQUIRE BACK-END section of my vB index.php file and then try to access the my main vB forum index, it doesn't load a page at all. It goes to the URL of the vB forum index page, but it totally blank (no info, no error, nothing, just a white screen)
So it works fine before adding the two lines to the index.php file and then doesn't work at all after I add them. Any suggestions?
|
| |
March 12th, 2005, 12:22 AM
|
#2 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
Hi..
try this instead..
include('../photopost/inc_features.php');
include('../photopost/inc_photopost.php');
See what happens
-T
|
| |
March 12th, 2005, 02:03 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 101
| continued editing of index.php to correct problem
Toney, I made the change you suggested and here is the error message I am receiving...
Fatal error: Cannot redeclare pp_get_ext() (previously declared in /data/0/0/16/140/16955/user/17332/htdocs/photopost/inc_features.php:66) in /data/0/0/16/140/16955/user/17332/htdocs/photopost/inc_photopost.php on line 36
|
| |
March 12th, 2005, 03:54 AM
|
#4 (permalink)
| | Senior Member
Join Date: Mar 2003
Posts: 1,319
|
Hi..
Here's what you should have listed in your index.php (not the photopost index.php, the vbulletin index.php) Code: Content visible to verified customers only.
looks as though it's being called twice... don't forget, vbulletins 'index.php' only!
-T
|
| |
March 12th, 2005, 04:37 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 101
| vBulletin index.php file settings
Here is what I have listed in my vBulletin index.php file only (not my PhotoPost index.php file)
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/functions_bigthree.php');
require_once('./includes/functions_forumlist.php');
include('../photopost/inc_features.php');
include('../photopost/inc_photopost.php');
I am still getting this error.
Fatal error: Cannot redeclare pp_get_ext() (previously declared in /data/0/0/16/140/16955/user/17332/htdocs/photopost/inc_features.php:66) in /data/0/0/16/140/16955/user/17332/htdocs/photopost/inc_photopost.php on line 36
|
| |
March 12th, 2005, 04:40 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 101
|
I tried deactivating inc_features.php:66 and inc_photopost.php:36 and I was able to get the error message to clear.
However, I was not able to see the Photo Gallery from my main vBulletin index page. If I reactivate inc_features.php:66 and inc_photopost.php:36
I then get this error again-> Fatal error: Cannot redeclare pp_get_ext() (previously declared in /data/0/0/16/140/16955/user/17332/htdocs/photopost/inc_features.php:66) in /data/0/0/16/140/16955/user/17332/htdocs/photopost/inc_photopost.php on line 36
|
| |
March 12th, 2005, 06:23 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
You sure your not trying to install an old hack?
The inc_photopost.php in our distribution surely does not have a pp_get_ext function in it as the inc_photopost.php has nothing to do with getting images like its older cousin the hack
Make sure both of those files are from our PP 5.0 distribution
|
| |
March 12th, 2005, 07:37 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 101
|
Thanks Chuck, I was indeed trying to install an old hack. This fixed that particular problem.
Now, I am having trouble getting the thumb to display on the main forum index page. It displays a black thumb box, but a thumb never loads. When I go to the Photo Gallery index page I can see the thumb and the pic. Any suggestions on why it is not displaying?
You can go to http://www.prognesubis.com/forums/index.php |
| |
March 12th, 2005, 08:34 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
Easy in your integration settings
// The URL of your photo dir where your images are stored (with / at end)
$data_dir = "http://www.domain.com/photopost/data/";
Note is says with slash at end you dont have one |
| |
March 12th, 2005, 08:44 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Mar 2005
Posts: 101
| missing forward slash
Thanks Chuck, problem solved.
|
| |
April 27th, 2005, 01:48 AM
|
#11 (permalink)
| | Registered User
Join Date: Nov 2004
Posts: 5
|
Hi all ...
I'm having exact the same problem.
Installed a fresh photopost 5.0.3 and Vbulletin 3.0.7.
When i browse to my forum, i get exact the same errors as mentioned above.
Only difference here is that everything is a fresh install and i'm not installing some old hacks
Any other options to get this solved?
thanks in advance for any help!
Greetings,
Johan.
|
| |
April 27th, 2005, 06:15 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
The only way you get the exact error in this thread of redeclaring pp_get_ext() is if you are trying to install the old hack.
If your problem is a path error simply point to the proper path to it. Your error might help us to assist you.
|
| |
May 13th, 2005, 12:05 PM
|
#13 (permalink)
| | Registered User
Join Date: May 2005
Posts: 4
|
where can we get the new one? I am having this same issue also.
I remove include('../photopost/inc_features.php'); it works, i remove include('../photopost/inc_features.php');
include('../photopost/inc_photopost.php'); and leave the otehr it wortks.. I have both it blows up:
PHP Fatal error: Cannot redeclare pp_get_ext() (previously declared in D:\Webserver\chopperspot.com\www\photopost\inc_features.php:66) in D:\Webserver\chopperspot.com\www\photopost\inc_photopost.php on line 36
where is the new one at fells?
thanx
-jes
|
| |
May 13th, 2005, 12:20 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
You need to ensure you have both new files. The new inc_photopost does not have a pp_get_ext function.
|
| |
May 13th, 2005, 12:26 PM
|
#15 (permalink)
| | Registered User
Join Date: May 2005
Posts: 4
|
great! Where can I download them?
I love this product!
Thank you!
|
| |
May 13th, 2005, 12:33 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
In your members area if you have current members access just download the distribution and upload those two files
|
| |
May 13th, 2005, 12:35 PM
|
#17 (permalink)
| | Registered User
Join Date: May 2005
Posts: 4
|
So I just need to Dl PhotoPost PHP Pro v5.03 and then extract those files only?
Cool I will give it a go!
-jes
|
| |
May 13th, 2005, 12:40 PM
|
#18 (permalink)
| | Registered User
Join Date: May 2005
Posts: 4
| |
| | |
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 08:38 AM. | |