TinyPortal

Development => Support => Topic started by: Talidorn on May 24, 2007, 10:04:15 PM

Title: Uninitialized string offset
Post by: Talidorn on May 24, 2007, 10:04:15 PM
Ok, I know this has been posted about before... but here it is again.

My site - www.talidorn.com

If I 0 out the error logs and then click on "Forum" and then go back to forum error logs I get 0 errors.

If I 0 out the error logs and then click on "Home" I get 7 errors.

8: Uninitialized string offset: 0
File: /var/www/vhosts/talidorn.com/httpdocs/Themes/default/TPortal.template.php (eval?)
Line: 175

8: Uninitialized string offset: 0
File: /var/www/vhosts/talidorn.com/httpdocs/Themes/default/TPortal.template.php (eval?)
Line: 177

8: Uninitialized string offset: 0
File: /var/www/vhosts/talidorn.com/httpdocs/Themes/default/TPortal.template.php (eval?)
Line: 225

8: Uninitialized string offset: 0
File: /var/www/vhosts/talidorn.com/httpdocs/Themes/default/TPortal.template.php (eval?)
Line: 227

8: Uninitialized string offset: 0
File: /var/www/vhosts/talidorn.com/httpdocs/Themes/default/TPortal.template.php (eval?)
Line: 237

8: Uninitialized string offset: 0
File: /var/www/vhosts/talidorn.com/httpdocs/Themes/default/TPortal.template.php (eval?)
Line: 247

8: Uninitialized string offset: 0
File: /var/www/vhosts/talidorn.com/httpdocs/Themes/default/TPortal.template.php (eval?)
Line: 306


This is a brand new SMF/TP install.
I have only done the following:
1.  Install SMF
2.  Mod the original post/boards to make them look less "out of the box"
3.  Install TP
4.  Disable "Welcome!" article and replace with one of my own.
5.  Check boxes to hide panels when in forums for left right and center.

That pretty much covers it... I might have done one or two other things (like disable certain blocks) but no actual modificiation of code.

Thanks for your suggestions.

Talidorn
Title: Re: Uninitialized string offset
Post by: G6Cad on May 24, 2007, 10:11:21 PM
Cant say that the error is because of this, but I have read some other posts where the welcome article (default) generates errors when it's just changed or dissabled.
Try and remove the article and the article category and make a new category and add your own welcome message to that and see if it works.
Title: Re: Uninitialized string offset
Post by: Talidorn on May 24, 2007, 10:35:17 PM
Removed the original "welcome!" article.
Remove the original categories
Removed the "Demo" articles.

Still seeing the errors when the "Home" page is hit... not in the forums.

Thanks for the suggestion...

Anyone else have any thoughts?

Talidorn
Title: Re: Uninitialized string offset
Post by: G6Cad on May 24, 2007, 10:45:06 PM
Did some search on simplemachines about this.

4 posts point in the same direction and it is broken files, 2 other posts show the error with the karma modification and googlebot and spiders mod. (you have a clean install so this can be skipped)

Solution seem to be manually uploading fresh files manually and make sure the FTP is set eather on AUTO or ASCII on transfer.
Title: Re: Uninitialized string offset
Post by: Talidorn on June 15, 2007, 12:28:41 AM
ok, reloaded SMF (even a new DB).

Set to ASCII as suggested.  Loaded TP via packet manager.

When it was done there were 6 pages of errors (where there were none b4).

I cleared those (in admin section)

clicked home

clicked admin

had the same 6 errors as above.

SMF ppl say that the error seems to be in the template file that TP is using.

Any other suggestions?

Thanks,

Talidorn
Title: Re: Uninitialized string offset
Post by: tick on June 15, 2007, 12:55:24 AM
If you would like I can take a look at this.   You can send me a temp admin acount user name and password and a ftp login and username and password.  That is if you would like me to look at it.