Menu

#49 Can't delete listings!

v0.3.0
open
nobody
Interface (28)
5
2004-02-15
2004-02-15
No

I am using phpwebsite 0.9.3-2 with phpwslistings 0.3.1
Like I said before on the forum I am unable to delete
listings. I get a empty page and the listing is not
deleted. I found this:
Can delete listings when using English language.
Can't delete listings when using Dutch language.
Can't delete listings when using German language.
Can't delete listings when using any other language??

Maybe there is a problem with the coding?
I did have a look at the Listing.php file and attached a
screenshot of what may be the problem code...
I am not a php programmer so forgive me if I am wrong.
I can't find anything wrong here, maybe someone else??

Please help.

If you guys have any questions: feel free to contact
me,
or at_chaos.

Greetings, Johan den Hollander.

Discussion

  • Johan den Hollander

    Logged In: YES
    user_id=973468

    I do found something wrong now but I don't have proper
    understanding of php. Please help me out here...
    In the html output I found this to be wrong. Look at the
    Dutch word "nee", it stands for no!!! (see attachment)
    The upper half is when using phpws in English.
    The lower half is when using phpws in Dutch.

    Johan den Hollander

     
  • Johan den Hollander

    Logged In: YES
    user_id=973468

    Solved the problem!!
    I do'nt know what was the cause of the problem but I solved
    it by comparing-cutting-pasting the code of delete form
    element function and delete listing function.
    In the attachment you'll see the wrong and the bad code. I
    have tested this with English and Dutch and it works!!
    Maybe one of the admins could have a look at this?? And
    correct it in the next phpwslistings release?
    I would be verry greatfull!

     
  • Johan den Hollander

    Faulty code <-> correct code in Listing.php

     
  • Johan den Hollander

    corrected listing.php

     

Log in to post a comment.