Webmastersite.net
Register Log In

error on clean install

Comments on error on clean install

sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted Apr 30, 2006 - 5:07 PM:

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
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted May 01, 2006 - 2:05 AM:

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.
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted May 01, 2006 - 6:47 AM:

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/database.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/database.php on line 31
-------------------------------

Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted May 03, 2006 - 5:12 AM:

Uploaded 1.3.3 which I can confirm has no setup errors.
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted May 03, 2006 - 1:24 PM:

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/database.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/database.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/database.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/database.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/database.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/database.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/database.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/database.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/database.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/database.php on line 31

Warning: mysql_list_fields(): Unable to save MySQL query result in /var/hsphere/local/home/serkino/fantasy-post.com/classes/database.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/database.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/database.php on line 108
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted May 03, 2006 - 3:54 PM:

Something nutty seems to have happened with setup.sql. Fixed. You can use the attached one to save the time of redownloading everything.

Attached Files:
sertan6
Experienced

Usergroup: Customer
Joined: Feb 22, 2004

Total Topics: 47
Total Comments: 88
sertan6
Posted May 05, 2006 - 12:28 PM:

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
developer

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

Total Topics: 61
Total Comments: 7868
Paul
0 of 1 people found this comment helpful
Posted May 07, 2006 - 6:01 PM:

I can only state that there are no setup errors in the version I uploaded... of course I tested it.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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