SMFHacks.com

SMF Classifieds => Support => Topic started by: cosmicx on December 07, 2011, 10:26:26 am

Title: Expired listings, as one of my site user mentioned
Post by: cosmicx on December 07, 2011, 10:26:26 am
is there any way to restore or re-post expired listings, in which it will function for both of the user and admin.
i see the expired listings under recycled bin for auto deleted listings, but there is no option to restore them, as an admin. im still using v.2.0.5
Title: Re: Expired listings - pain in the ass, as one of my site user mentioned
Post by: SMFHacks on December 07, 2011, 01:12:21 pm
Under the recyle bin for admins there is a "[Restore]" link under the options column
Title: Re: Expired listings - pain in the ass, as one of my site user mentioned
Post by: cosmicx on December 07, 2011, 09:17:40 pm
yes i did that.. but the issue is, after clicking restore, the listings is not restored and after page refresh the listing still appears in the recycle bin page
Title: Re: Expired listings, as one of my site user mentioned
Post by: SMFHacks on December 07, 2011, 10:51:51 pm
Tested on my SMF 2.0 board and was able to restore the ad an admin. Removed itself from the recycle bin and when back to the category clicking on the restore ad.
Title: Re: Expired listings, as one of my site user mentioned
Post by: cosmicx on December 10, 2011, 04:04:05 am
i don't know what is wrong, but it's not really working. i keeps on coming back after page refresh. my installation is in a wamp by the way
Title: Re: Expired listings, as one of my site user mentioned
Post by: SMFHacks on December 10, 2011, 09:42:44 am
Try to check your error log when restoring a listing for any related errors.
Title: Re: Expired listings, as one of my site user mentioned
Post by: cosmicx on December 11, 2011, 09:28:10 am
ah.. yes. there are lots of errors.

like so:

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined index: badbehavior_display_stats
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Themes/red-v2/index.template.php

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Use of undefined constant Update - assumed 'Update'
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkblocks.php(200) : eval()'d code

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined index: badbehavior_display_stats
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Themes/red-v2/index.template.php
Line: 439

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Use of undefined constant Update - assumed 'Update'
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkblocks.php(200) : eval()'d code
Line: 12

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined variable: id_member
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkfunction.php
Line: 1489

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined variable: scripturl
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Themes/default/classifieds2.template.php
Line: 5518

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined index: badbehavior_display_stats
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Themes/red-v2/index.template.php
Line: 439

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Use of undefined constant Update - assumed 'Update'
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkblocks.php(200) : eval()'d code
Line: 12

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined variable: id_member
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkfunction.php
Line: 1489

http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined variable: scripturl
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Themes/default/classifieds2.template.php
Line: 5518

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined index: badbehavior_display_stats
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Themes/red-v2/index.template.php
Line: 439

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Use of undefined constant Update - assumed 'Update'
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkblocks.php(200) : eval()'d code
Line: 12

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined variable: id_member
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkfunction.php
Line: 1489

===

all of those error have undefined error under type of error

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined variable: id_member
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Sources/Subs-adkfunction.php

Apply Filter: Only show the error messages of this URL
http://localhost/?pretty;action=classifieds&sa=recyclebin
Apply Filter: Only show the errors with the same message
8: Undefined variable: scripturl
Apply Filter: Only show the errors from this file
File: C:/wamp/www/Themes/default/classifieds2.template.php


-----

i cleared all errors before hitting the restore link. and then those errors appeared.
Title: Re: Expired listings, as one of my site user mentioned
Post by: SMFHacks on December 13, 2011, 06:31:09 pm
I don't know what it could be it might be another mod conflicting with it but to look more would need ftp/admin info.
Title: Re: Expired listings, as one of my site user mentioned
Post by: cosmicx on December 18, 2011, 10:06:50 pm
i did a fresh install of v2.0.7.

it's working alright now.
Title: Re: Expired listings, as one of my site user mentioned
Post by: SMFHacks on December 19, 2011, 12:41:19 pm
Glad it is working now that was strange not sure what caused that to occur.