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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,021
  • Total Topics: 21,332
  • Online today: 582
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 176
  • Total: 176

Front Page Uninitialized string

Started by Names all Gone, September 19, 2006, 09:57:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Names all Gone

SMF 1.1 RC3 TinyPortal v0.9.5
default installs - no mods - default templates
installed with package manager
...................................

Errors In front page if I use either of these settings
Only forum
Both forum and articles - sorted on date

8: Uninitialized string offset: 0
File: /home/virtual/site2/fst/var/www/html/test1/Themes/default/TPortal.template.php (eval?)

same error repeats for lines
Line: 300
Line: 242
Line: 196
Line: 196
Line: 196
Line: 189
Line: 179
Line: 177
Line: 171
Line: 169
Line: 10


tried

complete reinstall both manual & package manager
overwriting files
deleting all but core template
blocks on/off no difference

fixes applied (same error with or without these)

http://www.tinyportal.net/smf/index.php?topic=8261.msg67752#msg67752

and eek's fix
http://www.tinyportal.net/smf/index.php?topic=8411.msg68942#msg68942

Any suggestions?

Xarcell

I was unable to reproduce the error so I dunno...

Names all Gone

Thanks for trying to replicate :)

Unfortunately I'm no good with code so have no idea how to figure this out myself.

I've spent hours searching through the forums & find nothing similar - since it only produces errors for either of these two settings I'm totally at a loss.

Names all Gone

can anyone else duplicate this on a clean install

install SMF 1.1 RC3 - make no changes
install TinyPortal v0.9.5 (TP_095beta.zip)
restart forum
check error logs

I've now tried on 6 different servers/hosts and get the same errors everytime
11 errors produced everytime the home button is clicked

G6Cad

I have done this install about 30 times now, both test and live sites.
Done about 20+ upgrades from 1.1rc2 TP V.086 to 1.1rc3 and TP V.095, and still havent got that error ( all exept 4 installs on diffrent servers around the globe)


Names all Gone

Ok its got to be all on my end then

I get similar errors in Sources/ManageServer.php
8: Uninitialized string offset: 1

If I ever find why it's happening I'll post here

G6Cad

What server setup do you have from your host ? DB version ?
There have been many strange errors the past month regarding newer versions of sql with more.
Can you check and see what set up your server have ?

Names all Gone

#7
Hey thanks for checking back - I don't think I qualify for the newer version errors:
Linux
Apache
MySql:    3.23.58
Php:    4.3.3 
Safe Mode:    On
Register Globals:    Off

I've switched to "Go directly to forum index" where I dont get any errors - at least this way I can get things setup & working & learn the options - shame though, I would have really liked the forum & articles on the homepage.

Edit
weird, system is showing safe mode on & php info is showing safe mode off - I'm not sure what it is now

Other servers are
Linux
Apache
MySql:    4.0.20a
Php:    4.3.11
Safe Mode:    Off
Register Globals:    Off

G6Cad

The error might jus be that you actually have Safemode set to on there.

Can you contact your host and aske them about this? And if you cant change the setings your self, ask them to help you change to safemode = off and see if you can have a working forum and portal ?

Names all Gone

Just going to go try
do I have to restart apache after changing?

This website is proudly hosted on Crocweb Cloud Website Hosting.