Browsing this Thread:
1 Anonymous Users
Found bug, delete Classifieds works not |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
3/23 8:20 Posts:
35
![]() |
Hello John,
i work with the Classifieds Version 2.5, i would delete a Classified over the delete button, but this works not. I Klick of the Delete Button and he change in the Edit Modus. the modify.php has a Problem, in the old Classifieds Version works this fine. You can help me. Thanks
Posted on: 7/13 6:14
|
|
Transfer
|
||
Re: Found bug, delete Classifieds works not |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
go to viewad.php around line 192 find this line: $xoopsTpl->assign('modify', "<a href="modify.php?op=ModAd&lid=".addslashes($lid).""><img src="images/modif.gif" border=0 alt="".constant($main_lang."_MODIFANN")."" /></a> <a href="modify.php?op=ListingDel&lid=".addslashes($lid).""><img src="images/del.gif" border=0 alt="".constant($main_lang."_SUPPRANN")."" /></a>"); change it to: $xoopsTpl->assign('modify', "<a href="modify.php?op=ModAd&lid=".addslashes($lid).""><img src="images/modif.gif" border=0 alt="".constant($main_lang."_MODIFANN")."" /></a> <a href="dellisting.php?lid=".addslashes($lid).""><img src="images/del.gif" border=0 alt="".constant($main_lang."_SUPPRANN")."" /></a>"); The only change above is: <a href="modify.php?op=ListingDel&lid=".addslashes($lid).""> to <a href="dellisting.php?lid=".addslashes($lid).""> That should fix it. John
Posted on: 7/13 8:25
|
|
Transfer
|
||
Re: Found bug, delete Classifieds works not |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
3/23 8:20 Posts:
35
![]() |
Hello John,
this works not, when i push the button for delete, than comes a white site. the classifieds is not delete.
Posted on: 7/13 12:39
|
|
Transfer
|
||
Re: Found bug, delete Classifieds works not |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
Are you sure you copy and pasted the right line?
I made that change and it worked fine. With php debug on are you getting any errors, or queries that didn't work(in red)? You should get a page asking if you are sure you want to delete it. John
Posted on: 7/13 13:34
|
|
Transfer
|
||
Re: Found bug, delete Classifieds works not |
||
|---|---|---|
|
Webmaster
![]()
Joined:
2004/10/6 16:13 Posts:
927
![]() |
O.K. found the other problem you are having.
go to the file dellisting.php around line 36 and find this line: include(XOOPS_ROOT_PATH."/header.php"); BEFORE it add these lines: $lid = (intval($_GET['lid'])); $ok = isset($_GET['ok']) ? intval($_GET['ok']) : 0; That really should be it. Let me know what happens. Thanks, John
Posted on: 7/13 15:19
|
|
Transfer
|
||
Re: Found bug, delete Classifieds works not |
||
|---|---|---|
|
Not too shy to talk
![]()
Joined:
3/23 8:20 Posts:
35
![]() |
yes, this was the problem, John you are my friend
classifieds delete works now very fine , thanks greet host2 P.S: please update this bugs in you RC 2.5 FINAL Thanks
Posted on: 7/13 15:32
|
|
Transfer
|
||
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.




Transfer
