Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
April 19, 2014, 01:52:24 am

Login with username, password and session length
Members
Total Members: 11193
Latest: milissag
Stats
Total Posts: 34812
Total Topics: 5838
Online Today: 74
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 62
Total: 62
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Expired listings, as one of my site user mentioned  (Read 2123 times)
cosmicx
Full Member
***
Offline Offline

Posts: 108


View Profile WWW
« 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
« Last Edit: December 07, 2011, 10:51:02 pm by SMFHacks » Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11872


View Profile
« Reply #1 on: December 07, 2011, 01:12:21 pm »

Under the recyle bin for admins there is a "[Restore]" link under the options column
Logged
cosmicx
Full Member
***
Offline Offline

Posts: 108


View Profile WWW
« Reply #2 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
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11872


View Profile
« Reply #3 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.
Logged
cosmicx
Full Member
***
Offline Offline

Posts: 108


View Profile WWW
« Reply #4 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
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11872


View Profile
« Reply #5 on: December 10, 2011, 09:42:44 am »

Try to check your error log when restoring a listing for any related errors.
Logged
cosmicx
Full Member
***
Offline Offline

Posts: 108


View Profile WWW
« Reply #6 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.
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11872


View Profile
« Reply #7 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.
Logged
cosmicx
Full Member
***
Offline Offline

Posts: 108


View Profile WWW
« Reply #8 on: December 18, 2011, 10:06:50 pm »

i did a fresh install of v2.0.7.

it's working alright now.
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11872


View Profile
« Reply #9 on: December 19, 2011, 12:41:19 pm »

Glad it is working now that was strange not sure what caused that to occur.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[April 17, 2014, 06:35:33 pm]

[April 17, 2014, 05:44:48 pm]

[April 17, 2014, 04:01:58 pm]

[April 15, 2014, 10:58:02 am]

[April 13, 2014, 11:12:24 am]

[April 11, 2014, 09:39:48 am]

[April 11, 2014, 08:48:03 am]

[April 10, 2014, 08:20:58 am]

[April 09, 2014, 09:16:55 pm]

[April 09, 2014, 12:17:21 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.201 seconds with 18 queries.