TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 445
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 306
  • Total: 306

Uninitialized string offset

Started by Talidorn, May 24, 2007, 10:04:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Talidorn

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

G6Cad

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.

Talidorn

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

G6Cad

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.

Talidorn

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

tick

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.

This website is proudly hosted on Crocweb Cloud Website Hosting.