SMFHacks.com
SMF Classifieds => Support => Topic started 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
-
Under the recyle bin for admins there is a "[Restore]" link under the options column
-
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
-
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.
-
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
-
Try to check your error log when restoring a listing for any related errors.
-
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.
-
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.
-
i did a fresh install of v2.0.7.
it's working alright now.
-
Glad it is working now that was strange not sure what caused that to occur.