Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

Problem with validating updated links

Quote Reply
Problem with validating updated links
 
Hello,

I'm using the PHP-Version and most of the things work fine. But if I try to validate a link, which is awaiting for validation, it doesn't do.

If I go over the menu item database and try to validate changes, the script shows me the correct number of links awaiting, but it shows empty forms with nothing to validate.

If I go over the category browser to validate, I get this fatal errror message:

=====================================
Unable to update link: Can't find string terminator "'" anywhere before EOF at (eval 13) line 2.
=====================================

In the debugging text I can't recognize, in which of the files is the error.

I use Links SQL 2.1.1 German version and I didn't do any changes in templates of directory 'admin', but I 've added some fields to the links table.

Another thing: If I use phpMyAdmin I can't open the record of updated link in table changes. This seems to be the same problem as Dan Kaplan had described some months before.

Can anybody help me?

Thanks,

Stephan
Quote Reply
Re: [steve04] Problem with validating updated links In reply to
There was a somewhat recent bug fix for validating modified listings with the PHP front end, but I'm not aware of any for standard validating. Is that what you're describing?

Dan
Quote Reply
Re: [steve04] Problem with validating updated links In reply to
Can you show us the debugging please.
Quote Reply
Antwort: [Paul] Re: [steve04] Problem with validating updated links In reply to
Yes, here is it:

---------------------------------
A fatal error has occured:

Unable to update link: Can't find string terminator "'" anywhere before EOF at (eval 13) line 2.

Please enable debugging in setup for more details.

Stack Trace
======================================
Links (26068): Links::environment called at /usr/local/httpd/cgi-bin/links/admin/Links.pm line 430 with no arguments.
Links (26068): Links::fatal called at Links::Browser::link_validate_form line 21 with arguments
(Unable to update link: Can't find string terminator "'" anywhere before EOF at (eval 13) line 2.
).
Links (26068): Links::Browser::link_validate_form called at /usr/local/httpd/cgi-bin/links/admin/Links/Browser.pm line 78 with arguments
(Links::Browser=HASH(0x82cb2d8)).
Links (26068): Links::Browser::AUTOLOAD called at /usr/local/httpd/cgi-bin/links/admin/admin.cgi line 106 with arguments
(Links::Browser=HASH(0x82cb2d8)).
Links (26068): main::brow_request called at /usr/local/httpd/cgi-bin/links/admin/admin.cgi line 59 with no arguments.
Links (26068): main::main called at /usr/local/httpd/cgi-bin/links/admin/admin.cgi line 24 with no arguments.

-----------------------------
I hope, this will show enough.
Quote Reply
Re: [steve04] Antwort: [Paul] Re: [steve04] Problem with validating updated links In reply to
That was a bug with the PHP front end released in 2.1.1. If you email me (see my profile), I'll send you a copy of the latest PHP front end files.

Adrian