WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums


error on clean install

Version: 1.3.2
printPrint


error on clean install
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 45
Total Posts: 83
Posted 04/30/06 - 05:07 PM:
quote post
#1
just bought wsnforum, i am trying a clean install but when i submit the setup page with my info, i get the following message:

Parse error: syntax error, unexpected $end in /var/hsphere/local/home/serkino/fantasy-post.com/commonfuncs .php(482) : eval()'d code on line 23

the free 1.3.1 was running fine
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
Posted 05/01/06 - 02:05 AM:
quote post
#2
There's nothing at that location which could cause that, so your FTP client or internet connection probably cut off the middle of the file. Reupload.

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 45
Total Posts: 83
Posted 05/01/06 - 06:47 AM:
quote post
#3
i re-uploaded but nothing, then i tried to install it locally (phpdev), now
instead of the previous message i got this one:
-----------------------
If you are not the administrator of this site, please report this page to the administrator. If you are the administrator, please pay careful attention: You have a parse error in your template /admin/setup3.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 23 of the output.You appear to have a different number of opening <IF> conditionals than you do closing </IF> tags! (3 opening tags, 1 closing.) This is almost certainly the cause of your parse error. You must close every conditional you open.
Now outputing the page without any conditional or php sections evaluated:
-------------------------

in setup3.tpl i changed from:
<IF {HASWARNINGS}>{WARNINGS}</p>
<IF {HASERRORS}>{ERRORS}</p>
to:
<IF {HASWARNINGS}>{WARNINGS}</p>< ;/IF>
<IF {HASERRORS}>{ERRORS}</p></IF >

then locally the setup run without any other problems
but online, on the setup page i got the following message:

Warning: Invalid argument supplied for foreach() in /var/hsphere/local/home/serkino/fantasy-post.com/setup.php on line 248

despite the error, i filled the setup page and i can load the site but now when i enable the "Auction-Style" switch, i get this message:
---------------------------
Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 30

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 31
-------------------------------



Edited by sertan6 on 05/01/06 - 06:59 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
Posted 05/03/06 - 05:12 AM:
quote post
#4
Uploaded 1.3.3 which I can confirm has no setup errors.

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 45
Total Posts: 83
Posted 05/03/06 - 01:24 PM:
quote post
#5
with a clean install of 1.3.3 indeed there are no setup errors, but when i click on the forum link i get the following errors:

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 30

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 30

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 30

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 30

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 30

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 30

Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 31

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /var/hsphere/local/home/serkino/fantasy-post.com/classes/dat abase.php on line 108
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
Posted 05/03/06 - 03:54 PM:
quote post
#6
Something nutty seems to have happened with setup.sql. Fixed. You can use the attached one to save the time of redownloading everything.

Edited by Paul on 05/03/06 - 04:21 PM

Attached Files:
setup.sql
(81 KB, 26 downloads)

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004
Total Topics: 45
Total Posts: 83
Posted 05/05/06 - 12:28 PM:
quote post
#7
i uploaded setup.sql and tried to install again but when i go to setup-info
page i get the following error:

Warning: Invalid argument supplied for foreach() in /var/hsphere/local/home/serkino/fantasy-post.com/setup.php on line 253
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5796
0 of 1 people found this post helpful
Posted 05/07/06 - 06:01 PM:

quote post
#8
I can only state that there are no setup errors in the version I uploaded... of course I tested it.

_____________________
"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founcer of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.