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

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old January 23rd, 2010, 12:54 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
vB4 Integration Issue

This is probably due to my lack of experience, but I have installed PhotoPost Classifieds on a new install of vB 4.0.1 CMS suite. Install went fine and I did select to integrate with vB (all three options set to yes). However, I did NOT edit the header-inc.php file because according to teh installation instructions it says follow the instructions in the file - and I simply do not see any instructions other than vBPortal and honestly have no idea what to change. This has led to the expected errors:

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

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/user/public_html/ppc/header-inc.php on line 48

Warning: require(./global.php) [function.require]: failed to open stream: No such file or directory in /home/user/public_html/ppc/header-inc.php on line 48

Fatal error: require() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/ppc/header-inc.php on line 48


Can you point me in the right direction? What lines do I need to change?
DHewes is offline   Reply With Quote
Old January 23rd, 2010, 01:34 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
All that error means is much the same as vb3 on the last point of install you selected the wrong server path to vb. Go ahead and edit your config-int.php file and on the $vbpath line put the right server path. The FAQ thread on vb has a more indepth explanation of this.
__________________
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 23rd, 2010, 02:17 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
Ya, I discovered this. I editted the config-intc.php file (there is no config-int.php file in the distribution I downloaded today) to have the right path. I managed to get the admin page up after re-editting it to set all three options to NO. I left the path the same. For some reason the line in config-intc.php shows this:

$vbpath = "/home/user/public_html/forum";

but after I uploaded it and ran the install it showed this:

$vbpath = "/home/user/public_html/ppc/forum";

I just set it back to remove the ppc so that the vB was not a subdirectory of PPC and I could get in to the admin panel fine... When I do not use vB integration options it works fine. When I set the three vB3 settings to YES I get this:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /home/user/public_html/ppc/header-inc.php(86) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: footer in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/user/public_html/ppc/header-inc.php(250) : eval()'d code on line 1

followed by the generic form of the PPC site. Makes more sense if you look at it here:

Main Index - PhotoPost Classifieds
DHewes is offline   Reply With Quote
Old January 23rd, 2010, 02:21 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
when editing your header-inc.php file you messed it up so you need to rerun install and enter the correct info as we can only suggest paths or edit a clean header-inc file with the proper info.
__________________
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 23rd, 2010, 03:36 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
OK, re-downloaded the script, unzipped it, deleted the entire folder structure from my server, through phpMyAdmin deleted all PhotoPost Classified tables, re-FTP'd, set file/folder rights and ran the install.php script (I did not configure the config-inc.php nor the config-intc.php files ahead of time, instead did them during the install. After install went to options to fix several things that were picked up wrong during the install (things that I was not prompted to set, like "URL to PhotoPost Classifieds images directory" which was populated with the correct path except no slash between ppc and images where ppc is my PhotoPost Classifieds directory. There were several issues like this.)

OK, at that point everything should work as a stand alone (I currently had all vB3 INTEGRATION options set to no in the integration settings) NOTE: The integration settings page says "CONFIG-INT.PHP Integration Variables" but the file in the download is actually named config-intc.php (with the added c). Now, due to the huge list of things that are mistyped or not updated (like reference to vB3 and not to vB4, etc.) I have no idea if this is a simple oversight or significant.

Anyhow, when set to OFF the board works, just has the no frills plain skin. The moment I turn on vB integration I get the following errors. Note that I have not touched the header-inc.php file (because I have no idea what to set, nor can I find directions on what to set, if anything).

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_STRING in /home/user/public_html/ppc/header-inc.php(86) : eval()'d code on line 1

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: footer in [path]/includes/functions.php on line 3893

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/user/public_html/ppc/header-inc.php(250) : eval()'d code on line 1


So nothing was manually editted, and this was a completely clean install. I have no plugins installed on this brand new vBulletin 4.0.1 CMS site - it was not upgraded (vB nor PhotoPost products) - everything is a new, clean install.

You state above that you can suggest paths to edit in header-inc.php - can you please give me a URL to a page or thread that ahs such suggestions? The file itself does not contain any suggestions or directions for vB, only for vBPortal. I dont even need suggestions for the values - just tell me the line numbers that need to be changed/set. I can figure the values out on my own.

Thanks!
DHewes is offline   Reply With Quote
Old January 23rd, 2010, 03:49 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
Also, when I turn on forum integration under the above error messages I do get basically a test looking version of the page with missing images. The property of the images shows the location as:

http://www.ihmsa.net/forum//collapse_tcat.gif

That URL is obviously never going to work, and there should be an images/buttons between the two // above, but that may be due to the main issue in the first place.
DHewes is offline   Reply With Quote
Old January 23rd, 2010, 08:48 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Your config-intc.php is CORRUPT I can tell you that therefore thats why none of your vb stuff is being defined so it can load.

Code:
Content visible to verified customers only.
You can send us an admin login url and ftp info to look at your file.
__________________
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 24th, 2010, 08:30 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
Message sent via Contact Us form.

In regards to the config-intc.php, I have both editted it by hand and then uploaded it - then the second tiem I installed I just uploaded it, renamed and chmod'd it and let the install script modify it. Also, I downloaded a new ZIP package before the second install, so it was definately a clean copy. I am not saying that it isn't corrupt, just saying that I am fairly sure that at least the second install, I did not corrupt it.
DHewes is offline   Reply With Quote
Old January 24th, 2010, 08:50 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Your issue is simple

Your not installing the classifieds beta that integrated with vb4

Your trying to use classifieds 3.21 not classifieds 4.0 beta
__________________
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 24th, 2010, 08:58 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
OK...I feel like an idiot now....going to go cower in my corner and try this again.

Thanks for setting me on the right track...
DHewes is offline   Reply With Quote
Old January 24th, 2010, 09:15 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
yeah took one look at your header-inc.php file and was like OK.
__________________
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 24th, 2010, 09:45 AM   #12 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
Well I was...uhhh...testing how responsive tech support was...ya, that's it. Oh, and you passed.

The CORRECT version is being FTP'd to my site now...
DHewes is offline   Reply With Quote
Old January 24th, 2010, 09:54 AM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Enjoy
__________________
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 24th, 2010, 10:03 AM   #14 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
Ya...that worked a little better. As soon as the install was finished it appears to immediately work as expected. Now, just to screw with me a little you still have the footer saying:

Powered by: PhotoPost Classifieds 3.21 PHP vB3 Enhanced
Copyright 2009 All Enthusiast, Inc.

But the integration works just fine. Now to config the options and everything else, but this is a MUCH better start than before.

Thanks for the quick help, even if the problem was my fault.
DHewes is offline   Reply With Quote
Old January 24th, 2010, 10:18 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Is that because you have already installed the database so your copyright was already there

You can run the upgrade script.
__________________
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 24th, 2010, 10:22 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
I actually deleted every table with the prefix I had used before I re-installed...in any case, I know where to edit the cright setting to correct it. I know this is in beta, so not going to ask too much, but before release can you touch on the .htaccess requirements for SEO friendly URLS's (which I assume is the sample HTACCESS file included) as well as the hot link protection requirements in the .htaccess file in /data?
DHewes is offline   Reply With Quote
Old January 24th, 2010, 10:27 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
As noted in the actual beta release announcement you need to rename that file to .htaccess and upload it

As far as hotlinking protection there are many examples online the internet but here is ours

PhotoPost PHP Photo Gallery Features
__________________
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 24th, 2010, 10:45 AM   #18 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Location: South Carolina, USA
Posts: 63
Send a message via AIM to DHewes
Chuck - OK, your comment above really had me nervous. I know I deleted all the Classified tables from my database before I installed. If somehow there were some remnants of the previous install such as the version in the cright value, than what else could there be that would cause problems later on? Well, before I went to far I looked through your install.php script for the 4.0 Beta 3 and sure enough found this line:

$query[] = "INSERT INTO {$pp_db_prefix}settings VALUES (37, 'setting37', 'cright', '<font size=\"1\" face=\"verdana\">Powered by: <a href=\"http://www.photopost.com\">PhotoPost Classifieds 3.21</a> --replaceme--<br />Copyright 2009 All Enthusiast, Inc.</font>', 300, 0);";

So I now have a warm and fuzzy about my database again.
DHewes is offline   Reply With Quote
Old January 24th, 2010, 07:40 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,685
Your talking about my previous to last comment. I simply stated you can run the upgrade script to update the version number in the copyright

Code:
Content visible to verified customers only.
__________________
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
Upgrade to Photopost 7.01 / vb4 CSS path display issue? Alien515 Photopost Pro Bug Reports 16 January 22nd, 2010 06:32 PM
Integration issues with VB4 tomld Classifieds Installation & Upgrades 3 January 22nd, 2010 02:13 PM
VB4 Theme integration ? MrKing Photopost Pro How Do I...? 5 January 22nd, 2010 01:45 PM
Integration of vB4 Style pozo Photopost Pro How Do I...? 3 January 14th, 2010 06:47 PM


All times are GMT -5. The time now is 09:40 AM.

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