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 How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 7th, 2010, 03:07 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Unhappy Forum database table prefix

By mistake I have changed (in Classifieds admin) the forum database table prefix (for SMF2) and then my whole Classifieds section crushed. In what file (I assume php) is this information stored? I hope I can go in there and manually set it back to the correct value. Also I have a weird problem with cookies, or so it looks to be. I have the following apps integrated on my site: PhotoPost, Reviews, Classifieds and SMF2. The login and register from all of them point to SMF since this is the application which handles this kind of functionality. When I am in IE8, once a user (or administrator for that matter) logs in it is logged in in all four applications. In Mozilla 3.6.8 (the latest and the greatest version), the user is properly logged in only in PhotoPost and SMF2. What shall I do about it?

Thank you!
artshock is offline   Reply With Quote
Old September 7th, 2010, 06:19 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
This is not a file it is setting 83 in the actual cp_settings table in your classifieds database.

You need to use phpmyadmin to change this or rerun the install script.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 7th, 2010, 10:09 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Thank you, Chuck! Problem solved. I still have the issue with Mozilla (as per my initial posting). Classifieds it does some other weird stuff also. I have two products listed (for testing purposes), and even if the user can see the listing (with thumbnails and description) when trying to access them the system reports back an error (as well as when the user is trying to see/edit its own profile). One of the errors I get is the following: "We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: SELECT value FROM lf_settings WHERE variable='custom_avatar_url'

Result: Table 'livefoli_dbclass.lf_settings' doesn't exist

Database handle: Resource id #5"
The problem here is in the database querry - 'mydomain_dbclass.lf_settings'. The table called 'lf_settings' in fact belongs to my forum database (SMF2) and not to 'dbclass' which is my Classifieds database. This error is reported when the user is logged in and is trying to access an item.
If not logged in the following error occurs:
"We're sorry, but the system experienced an unrecoverable error. Please try again later.
".
Any ideas on this one?

Thank you!
DVD
artshock is offline   Reply With Quote
Old September 7th, 2010, 12:34 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Have you uploaded the new smf2.php file from the distribution?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 7th, 2010, 01:35 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
What do you mean by that? In my Classifieds folder there is another folder called "forums" which contains a file named "smf2.php". Should I replace it with a newer one?
artshock is offline   Reply With Quote
Old September 7th, 2010, 01:44 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Yes if you have uploaded the latest code your file should not have this error. I am assuming you did not replace this file when you upgraded.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 7th, 2010, 01:47 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
How do I get the new file then?
artshock is offline   Reply With Quote
Old September 7th, 2010, 01:48 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
And by the way, this was a new install not an upgrade.
artshock is offline   Reply With Quote
Old September 7th, 2010, 01:53 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Do I also need to update the same smf2.php on Reviews?
artshock is offline   Reply With Quote
Old September 7th, 2010, 02:01 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
In our downloaded smf2.php file the line is this

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 online now   Reply With Quote
Old September 7th, 2010, 02:54 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Hi Chuck,

Thank you very much! This is the fix. Now everything looks to be in order. I guess I had an old file, since my equivalent string was like this:
list( $avatarurl ) = ppmysql_query_onerow("SELECT value FROM {$Globals['dprefix']}settings WHERE variable='custom_avatar_url'", $link);
$avcheck = substr($uavatar, 0, 4);

In reviews I don't have any issues so far, but I am wondering if there is a similar thing in the smf2.php file. Any hints will be much appreciated.

Regards,
DVD
artshock is offline   Reply With Quote
Old September 7th, 2010, 03:00 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Unfortunately this doesn't seem to be the end of the problem. Now under "Profile" in classifieds the avatar is not shown any longer and the IE8/Mozilla 3.6.8 issue is still there ...
artshock is offline   Reply With Quote
Old September 7th, 2010, 03:16 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I can not comment on cookie issues without seeing the settings in both applications.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 7th, 2010, 05:06 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
You should have the ftp info for my site - I sent it to you not too long ago. If you can't find it please let me know.

Regards,
DVD
artshock is offline   Reply With Quote
Old September 7th, 2010, 07:54 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
You would need to send site data since we have many customers. I dont keep old emails given the number of emails I deal with weekly.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 8th, 2010, 11:43 AM   #16 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Hi Chuck,

I sent you last night the ftp info via "Contact us". I forgot to mention though the site structure:
buysell - folder for Classifieds
reviews - folder for Reviews
folios - folder for PhotoPost
liveforum - folder for SMF2

Thank you!
artshock is offline   Reply With Quote
Old September 8th, 2010, 04:48 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
I will check but make sure you also included admin information.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 8th, 2010, 06:00 PM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
You have not provided admin info so I can look at your cookies and login
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old September 8th, 2010, 07:31 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Hi Chuck,

Sorry about it. I will send to you the required via via "Contact us" ASAP.

Thank you!
artshock is offline   Reply With Quote
Old September 9th, 2010, 09:39 AM   #20 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,945
Thanks am checking this out now.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
RP 3.33 & phpBB3 Potential Issue [Forum Database Prefix] Swanny ReviewPost Installation & Upgrades 5 May 14th, 2008 09:29 AM
Forum database table prefix donnyaz ReviewPost How do I...? 3 April 2nd, 2008 04:21 PM
Forum database table prefix aacircle Photopost Pro How Do I...? 2 October 4th, 2006 07:56 AM
table prefix in ecard.php missing karlsson Bugs From 1.0.0 1 December 11th, 2004 10:00 AM


All times are GMT -5. The time now is 05:39 PM.

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