•  

Forum

Moderated by: stefan, hombergs, xweber
Forum Index
OpenPhpNuke
     Bugs
     error in MYSQL syntax.

Author Printer friendly pageerror in MYSQL syntax.
anonymous
Unregistered User
Posted: 2003-10-24 13:33

my version of open phpnuke is fresh. just installed it. i created an anypage using the anypage module, and it came up with this error.

Fatal error: mysql error: [1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 0)' at line 1] in EXECUTE("INSERT INTO opn__anypage_page VALUES (1, 'About', '', '', 'Reality News', 'Testing this shit man ', 'V', '2452937.252', 1, , 1, 0)") in /homepages/26/d88281442/htdocs/reality/include/opndb-errorhandler.php on line 169

how do i fix this?


Quote Printer friendly page upwards
hombergs
Joined: April 14, 2003


Send private message to hombergs
ICQ AIM YIM MSNM
Posted: 2003-10-25 04:00

Search for
case 'addpage':
if (!isset($anypage_cat)) { $anypage_cat = 0; }

in system/anypage/admin/index.php
after
if (!isset($anypage_cat)) { $anypage_cat = 0; }

insert the line

if (!isset($anypage_menu)) { $anypage_menu = 0; }

Bug is fixed in RC2



H.O.M.B.E.R.G.S.: Hydraulic Obedient Machine Built for Efficient Repair and Galactic Sabotage

There are no problems, only defiances.

Quote Printer friendly page upwards
[manne]

Joined: April 12, 2003
Posts: 198


Send private message to [manne]
Posted: 2003-11-29 15:57

problem solved and close

manne


Quote Printer friendly page upwards
sort by

Previous thread:  This site: error in downloads
Next Thread:  Installation fails

Jump To:

 
Page took 0.11486 seconds to load