 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
September 7th, 2010, 03:07 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jun 2009 Location: Canada
Posts: 98
| 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!
|
| |
September 7th, 2010, 06:19 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
September 7th, 2010, 12:34 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Have you uploaded the new smf2.php file from the distribution?
|
| |
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?
|
| |
September 7th, 2010, 01:44 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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?
|
| |
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.
|
| |
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?
|
| |
September 7th, 2010, 02:01 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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
|
| |
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 ...
|
| |
September 7th, 2010, 03:16 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
I can not comment on cookie issues without seeing the settings in both applications.
|
| |
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
|
| |
September 7th, 2010, 07:54 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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!
|
| |
September 8th, 2010, 04:48 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
I will check but make sure you also included admin information.
|
| |
September 8th, 2010, 06:00 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
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 |
| |
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!
|
| |
September 9th, 2010, 09:39 AM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Thanks am checking this out now.
|
| | |
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 05:39 PM. | |