Webmastersite.net
Register Log In

Upgrade errors

Comments on Upgrade errors

hai
Forum Regular

Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA

Total Topics: 94
Total Comments: 339
hai
#16 - Quote - Permalink
Posted Aug 03, 2008 - 3:46 PM:

Paul,

Looking at Jez's page source I notice that none of the script codes start with <script type=... they all start with <"text/javascript"... Not sure why, but thought that may give you an idea of where to start looking for a solution.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
#17 - Quote - Permalink
Posted Aug 03, 2008 - 6:12 PM:

Downloaded the wrapper and put it on one of my installs to test.
<IF {THISMEMBERISREGISTERED}>
<IF {THISMEMBERISADMIN}>
<li><a href="[IFADMINadmin/]index.php">Admin Panel</a></li>
<li><a href="[IFADMIN../]modcp.php">Moderator Control Panel</a></li></IF>
<IF {THISMEMBERUSERGROUP} is {MODUSERGROUP}>
<li><a href="[IFADMIN../]modcp.php">Moderator Control Panel</a></li>
</IF>
needs another </IF> at the end.

<IF {SWITCH_MEMBERS}>
<IF {THISMEMBERISGUEST}>
<div class="login">
<form action="{DIRURL}/index.php?action=userlogin&filled=1" method="post">
<input type="text" name="username" size="10" value="<IF {SWITCH_EMAILLOGIN}>e-mail<ELSE>username</IF>" onfocus="this.value=''" /> <input type="password" name="userpassword" size="10" value="" onfocus="this.value=''" /> <input type="submit" value="Login" class="button" />
<br />- <a href="index.php?action=userlogin">Forgot Password</a>
</form>
</div>

Needs </IF></IF> added at the end.

Did you not apply the additional listed changes after it did the autochanges, or were these changes not listed?
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
#18 - Quote - Permalink
Posted Aug 03, 2008 - 6:15 PM:

hai wrote:
Not sure if this is your problem, but when viewing the source of the page I noticed your StatCounter code shows -

<"text/javascript" language="javascript"> in 2 places try changing to -

<script type="text/javascript" language="javascript">


The removed script is actually part of the WSN error display process and not reflective of the template -- to prevent all possible popups from popping up when the page is output without conditionals. It'd less confusing to asciize it instead of removing words though, will change.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
#19 - Quote - Permalink
Posted Aug 04, 2008 - 2:36 AM:

Paul, emailing you. The last fixes did not work. I am away for a few days without any net access I am hoping that you can fix and I'll pay you. I just need it done.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
#20 - Quote - Permalink
Posted Aug 05, 2008 - 2:40 AM:

Done.
Jez
Forum Regular

Usergroup: Customer
Joined: Jan 19, 2007

Total Topics: 32
Total Comments: 130
Jez
#21 - Quote - Permalink
Posted Aug 06, 2008 - 4:06 AM:

Paul, I just paid you.



The layout was all a bit messed up after you managed to resore what you did so I searched through the code to see if I could see what was wrong and I found 2 of the below:
<IF 1>
<IF {THISMEMBERISGUEST}>
<div class="login">
<form action="https://www.webmastersite.net/forums/{DIRURL}/index.php?action=userlogin&amp;amp;filled=1" method="post">
<input type="text" name="username" size="10" value="<IF 0>e-mail<ELSE>username</IF>" onfocus="this.value=''" > <input type="password" name="userpassword" size="10" value="" onfocus="this.value=''" > <input type="submit" value="Login" class="button" >
<br ><a href="https://www.webmastersite.net/forums/register.php">Register</a> | <a href="https://www.webmastersite.net/forums/index.php?action=userlogin">Forgot Password</a>
</form>
</div>
</IF>
</IF>





I would not have duplicated that myself - was it caused by the failed upgrade? Was it part of the problem?

Thanks to babrees and hai who tried to help me in this thread.
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
#22 - Quote - Permalink
Posted Aug 06, 2008 - 1:48 PM:

It would've created one copy of that block in autoapplying template changes, and left instructions to remove the other copy, but you weren't able to see the instructions.

The errors were caused by similarly added/non-removed spots that led to mismatched conditionals.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.