Webmastersite.net
Register Log In

submit links
don't work sad

Comments on submit links

zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005

Total Topics: 9
Total Comments: 30
zewxr
Posted Jul 22, 2005 - 5:01 AM:

hello

when i try to submit a links on the directory in mode admin i have :

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/*********/www/classes/database.php on line 108

what's the matter ? sad

and during the submit, the JS box to tell the caracteres left don't work sad bug ? i'm going to compare with the v3.16

Thanks sad
zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005

Total Topics: 9
Total Comments: 30
zewxr
Posted Jul 22, 2005 - 5:15 AM:

Well ... to correct JS box caracteres left you need to replace :

<textarea cols="45" rows="5" name="description" onKeyDown="textCounter(editform.description,editform.remLen,{DESCRIPLENGTH});" onKeyUp="textCounter(editform.description,editform.remLen,{DESCRIPLENGTH});">{LINKDESCRIPTION}</textarea>
<br><input readonly type="text" name="remLen" size="4" maxlength="4" value="{DESCRIPLENGTH}"> {LANG_SUGGESTLINK_CHARSLEFT}



by :

<textarea cols="45" rows="5" name="description" onKeyDown="textCounter(submitform.description,submitform.remLen,{DESCRIPLENGTH});" onKeyUp="textCounter(submitform.description,submitform.remLen,{DESCRIPLENGTH});">{LINKDESCRIPTION}</textarea>
<br><input readonly type="text" name="remLen" size="4" maxlength="4" value="{DESCRIPLENGTH}"> {LANG_SUGGESTLINK_CHARSLEFT}


enjoy


but i have always the error on line 108 sad(
zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005

Total Topics: 9
Total Comments: 30
zewxr
Posted Jul 22, 2005 - 5:21 AM:

Warning ... forum security put a space on the code ! left it :

... form.rem Len .... is form.remLen, on the first code

and

submitform.remLen,{ ... in the second
zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005

Total Topics: 9
Total Comments: 30
zewxr
Posted Jul 22, 2005 - 6:19 AM:

For the error 108 ... i think the submit it's ok but the bug is probably on the displaylinks or /classes/database.php ... if anybody can help me to resolve !

because the newest site list is OK !

thanks

Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jul 23, 2005 - 1:27 PM:

Doesn't happen on a normal install, of course. Post your debug output, see the manual entry on mysql errors for how.

Please use code tags when you post html or php on the forum, so that it shows correctly.
zewxr
Member

Usergroup: Customer
Joined: Jul 20, 2005

Total Topics: 9
Total Comments: 30
zewxr
Posted Jul 24, 2005 - 10:16 AM:

Well ...

After several reinstalments (without saving my lang file sad I thus have to re-translate everything) I managed to isolate the source of the error !

To reproduce her you just have to choose:
in settings / generale :

Default ordering:
Links order: WHAT YOU WANT, then secondary order : By title rotating starting letter

validate ...

Go to see your lists of sites and you will have the error.

I lost a crazy time above: (
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7867
Paul
Posted Jul 24, 2005 - 10:56 AM:

Will remove the option from secondary sort.

Even reinstalling shouldn't overwrite your language, since the default langauegs are all in the /setup subdirectory, as long as you don't specifically delete it first.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.