Offset error when registering.

Started by chinaren, October 13, 2009, 06:44:59 PM

Previous topic - Next topic

chinaren

Hey all, need a bit of help!

I installed a 1.1. forum, then upgraded it to SMF2 with the upgrade package.  It all seemed to work okay, though there were a few errors that were the result of a couple of things not FTPing across okay.  I thought I caught them all, but maybe not.

When someone tries to register on the forum they get the error:

QuoteFatal error: Function name must be a string in /(url)/forum/Sources/Register.php on line 108

In the error log on the forum it shows this error:
Quotehttp://woyoco.com/forum/index.php?action=register

8: Undefined offset: 97

File: /(url)/woyoco.com/forum/Sources/Register.php
Line: 76

Line 76 is:  

Quote$context['page_title'] = $txt[97];

I'm assuming there's data (or should be some) which the page title should be in at offset 97, and it's wrong or not there, and that's causing the error further along, as the $txt is null, but I don't know where this data is.   :-\

Can anyone help me out here?  

The Opus Path - The Next Generation of the Written Word

atokar

Try re-uploading  the Register.php file - it seems like the file is still that of 1.1, as 2.0 does not use integer values for $txt array anymore.

chinaren

Ah, thanks Aty!  I'll give that a go!

The Opus Path - The Next Generation of the Written Word

JimM

If the above suggestion don't fix the issue, you may have to redo some of the other files by FTPing in smaller increments to hopefully minimize the problem files.
Jim "JimM" Moore
Former Support Specialist

chinaren

Just done this, and it worked fine.  Thanks for your help!



The Opus Path - The Next Generation of the Written Word

Advertisement: