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,966
  • Latest: safir45
Stats
  • Total Posts: 195,982
  • Total Topics: 21,320
  • Online today: 1,031
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 470
  • Total: 470

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.

Xarcell

Doesn't it have something to do with your mysql version?

Names all Gone

The support guy said it was the php - but who knows
two different php & mysqyl setups same results.

I've given up on it for now & will just use blocks to get what I want instead.

I'm going to get a new box anyway - maybe TP will work on that one for me :)
Just trying to decide on Ensim or Plesk.

Names all Gone

Just a quick update

disclaimer - I have no clue what I'm doing

No more errors & I can now use all the different TP layouts

Themes/default/TPortal.template.php

looked for isset & changed it to @isset

line 169
line 171
line 177
line 179
line 189
line 196
line 242
line 300

on any theme that uses its own TPortal.template.php the line numbers are different

& problems with save errors were fixed in

Sources/ManageServer.php on line 460
change !isset to !@isset

I have not had any of the undefined index errors reappear either since doing those changes.

If I screwed it up - PLEASE kick me and let me know



IchBin

Well, all you've done is suppressed the errors. You haven't gotten rid of them. :) The "@" sign suppresses the errors when you do that.

Thurnok

isset() hasn't changed from version 3, 4, or 5 of php.  Not sure what smoke your Host provider was blowing up yer... , ahem, anyway...

Undefined index errors relate to array elements (myarray[1]  or myarray['test'] for example) where that particular index does not exist in the array.  Using the @ symbol supresses php errors.. which in your case should help your whiny host provider by not filling up the php error.log file.  Additionally, the return value will still be false, which in this case is what you are looking for, so your changes should not affect the program logic.
Thurnok
The one, the only!

This website is proudly hosted on Crocweb Cloud Website Hosting.