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 18th, 2005, 06:35 AM   #1 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
PhotoPost Classifieds 2.1 vB3 Enhanced upgrade

I've just upgraded from 2.02 to 2.1 - the upgrade was smooth and easy.

When editing the config-int file I noticed that it hasn't been changed and still refers to PhotoPost which may confuse some people - I assume these references are meant to be for Classifieds.

Attempted to login to the admin section of classifieds... enter username and password, and it takes me back to the login screen. From another post
'VB3 Integration of ReviewPost 282' which dealt with the same problem but with Photopost we were advised to remove some code...

so in Classifieds pp-inc.php I removed this:
$log = " &middot; <a href=\"{$Globals['maindir']}/logout.php\">{$Globals['pp_lang']['logout']}</a>";

Still didn't help then checked my config-inc & config-int file and then the database...

In the lastest version of PhotoPost with vb3 intergration the cookie domain has been moved into the database but looking at Classifieds database in the settings table I can't find any reference to a cookie domain.
criscokid is offline   Reply With Quote
Old January 18th, 2005, 08:08 AM   #2 (permalink)
Member
 
Join Date: May 2004
Posts: 83
these are bugs i was to report myself...

>> settings cookie_path and domain_path are not saved on the install/update, so they are blank...
nexia is offline   Reply With Quote
Old January 18th, 2005, 08:20 AM   #3 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Well, since the product is called PhotoPost Classifieds, I just left the wording as "PhotoPost" - I'll change it in the three palces to "Classifieds" to try and avoid any confusion.

It looks like the cookie values got placed in the wrong section and should be in section 13; these SQLs will move them into the right config area:

UPDATE settings SET section=13 WHERE id=181;
UPDATE settings SET section=13 WHERE id=182;
UPDATE settings SET section=13 WHERE id=183;

(be sure to add any prefix you might have)

Try going into the Admin Edit Config and check your settings and click SAVE; this will write you a new config-inc.php which doesn't have the values stored in the file which may be conflicting with the database settings.

You don't need to remove any code with this update since the vB3 Enhanced features are toggles with this update (ReviewPost hasn't been updated yet).
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 18th, 2005, 08:40 AM   #4 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Done that which generated the following output:

UPDATE pp_settings SET section =13 WHERE id =181;# MySQL returned an empty result set (i.e. zero rows).
UPDATE pp_settings SET section =13 WHERE id =182;# MySQL returned an empty result set (i.e. zero rows).
UPDATE pp_settings SET section =13 WHERE id =183;# MySQL returned an empty result set (i.e. zero rows).

But I still can't login to the admin control panel. Looking at the pp_settings table I still don't see any reference to a cookie domain.

If it's any help here's the output from when I ran the upgrade script:

Preparing to update 2.0x database...
Performing MySQL command: REPLACE INTO pp_settings VALUES (84,'PhotoPost Classifieds Version','pversion','','2.1',53,0) ... Successful!
Performing MySQL command: REPLACE INTO pp_settings VALUES (37,'cright','cright','','Powered by: PhotoPost Classifieds --replaceme--
Copyright 2005 All Enthusiast, Inc.',300,'0') ... Successful!
Performing MySQL command: REPLACE INTO pp_admingroups VALUES (13,'Cookie Settings') ... Successful!
Performing MySQL command: REPLACE INTO pp_admingroups VALUES (14,'Forum Settings') ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=14,optionorder=1 WHERE id=7 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=14,optionorder=2 WHERE id=41 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=14,optionorder=3 WHERE id=83 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=14,optionorder=4 WHERE id=163 ... Successful!
Performing MySQL command: UPDATE pp_settings SET section=14,optionorder=5 WHERE id=153 ... Successful!

Upgrade complete! You can now remove the upgrade.php script.

Last edited by criscokid; January 18th, 2005 at 08:48 AM.
criscokid is offline   Reply With Quote
Old January 18th, 2005, 08:50 AM   #5 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Did any of your new settings get added to your settings table?

lines 421-437 of the upgrade.php has a whole section of config settings that get moved from the config-inc.php file to the database.

Code:
Content visible to verified customers only.
Did these not get moved into your database?
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 18th, 2005, 08:53 AM   #6 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
If you haven't updated your config-inc.php (or have a backup), I just updated the build with a new check in the upgrade.php. You can upload the upgrade.php from the current build and run it again with the original config-inc.php and it should pick up the values and place them into the database.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 18th, 2005, 09:02 AM   #7 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
I had a similar problem with stuff not getting written to the databse when I upgraded PhotoPost and ended up having to add it manually.

The only thing that has changed recently is the lastest version of PHP4 got installed... check my PHP and it seems that one the web service didn't have the correct permissions. Got that sorted :-)

Ran the SQL in your previous post, edited the table and added the cookie domain and now I'm able to login to the admin control panel :-)
criscokid is offline   Reply With Quote
Old January 18th, 2005, 09:04 AM   #8 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
If would have to be failing on this line:

if ( isset($ppboards) ) {

Which is simply asking if that variable has been set (which it would be with an old style config-inc.php). I'm wondering if the isset() is causing the problem.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 18th, 2005, 09:07 AM   #9 (permalink)
Senior Member
Verified Customer
 
Join Date: Jun 2003
Location: London, UK
Posts: 562
Just want to check...

In the admin panel does the 'Debug Setting' now have two drop down boxes to choose from? (Same setting in PhotoPost only has one)
The 'Imaging Integration (IM or GD)' is a free text block but in PhotoPost it's a drop down box.
criscokid is offline   Reply With Quote
Old January 18th, 2005, 09:14 AM   #10 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
No, that's actually a bug. I've updated the adm-options.php in the current build to correct that issue. Thank you for pointing it out. If you grab the current build and upload the adm-options.php then it'll be fixed.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 18th, 2005, 09:35 AM   #11 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I have an idea on how to do the isset differently that should work better for everyone.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old January 24th, 2005, 06:47 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Nov 2004
Posts: 62
Just FYI:
ran into some of the issues mentioned. gave up and restored everything back to 2.02

Code:
Content visible to verified customers only.
++ plus a number of similar lines.

The classifieds came up afterwards, but no way to login - kept sending me in loops.

this was from 2.02 to 2.1

I'll try again in a week or so when the dust settles.

hope this helps.
Al

------
update.
found and reported a bug in the install after support provided the info about changing the database lines in 180-183 to get things working.
bb was going into the wrong field, was under paypal.

Last edited by rastacat; January 29th, 2005 at 06:18 PM. Reason: update
rastacat 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
I love the PPPro vB3 Enhanced. When can we have the reviewpost vB3 Enhanced?? batmon ReviewPost Installation & Upgrades 8 March 9th, 2005 03:28 PM
PhotoPost Classifieds 2.1 vB3 Enhanced Available! Michael P Classifieds Installation & Upgrades 19 January 27th, 2005 03:29 PM
Photopost Classifieds - VB3 Enhanced? rsuplido Classifieds Installation & Upgrades 6 January 17th, 2005 06:13 AM
Photopost Classifieds - vb3 Enhanced coming? rsuplido Before You Buy 1 January 14th, 2005 02:41 PM


All times are GMT -5. The time now is 02:33 AM.

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