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,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 790
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 423
  • Total: 423

Undefined variable: cexist

Started by bigb, February 21, 2009, 07:34:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bigb

I am getting an error in the forum log

Link to my site: http://www.islandtackle.com
SMF version: SMF ver. 1.1.8
TP version: TP ver. 1.0 beta 3

Mod Name Version 

Anti-Spam Verification Questions 1.02 
SMF Gallery Lite 1.9.4   
Googlebot & Spiders Mod 2.0.4   
SMF 1.0.16 / 1.1.8 Update 1.0   
Users Online Today Mod 1.4.0   
TinyPortal 1.075   

Error Messages:

http://www.islandtackle.com/smf/index.php?cat=106 
8: Undefined variable: cexist
File: /home3/tunatack/public_html/islandtackle/smf/Sources/TPortal.php
Line: 1480

http://www.islandtackle.com/smf/index.php?cat=106 
8: Undefined variable: cexist
File: /home3/tunatack/public_html/islandtackle/smf/Sources/TPortal.php
Line: 1480

http://www.islandtackle.com/smf/index.php?cat=106 
8: Undefined variable: cexist
File: /home3/tunatack/public_html/islandtackle/smf/Sources/TPortal.php
Line: 1480

This happens when you  view a category list of articles.  The error occurs once for each article under the category list. example you have 5 articles in a category you get 5 errors.

I get the same errors on my test server with no mods.

SMF version: SMF ver. 1.1.8
TP version: TP ver. 1.0 beta 3

Mod Name Version 

SMF 1.0.16 / 1.1.8 Update 1.0   
TinyPortal 1.075   

looks like the same error
http://www.tinyportal.net/index.php/topic,28477.0.html  Posted By fangweile

Any ideas how to solve this error?

Thanks

G6Cad

Give the same answer to you as in that topic, not a tp error but some thing else you have installed and use on your site.

bigb

The only thing installed on my test server is:

SMF version: SMF ver. 1.1.8
TP version: TP ver. 1.0 beta 3

I get the same errors on my test server with no mods as I do on the main site.

Using the default theme or any theme.

Renegd98

cexist is a variable in the Tportal.php file. I think it is looking at whether a category exist.

Try going into your categories. Create a new category and then delete if you don't need it.

Then remove those errors from your error log and see if they are gone?

bigb

OK, I went in and deleted all of my categories.  I setup one new category named New Articles.  I added two basic articles and set them under the new category.

I created a new menu under the menu manager.  Type was category - Item was  New Articles.

Now when I select this category in the block menu it displays the 2 articles but I get these two errors  - one for each article.

8: Undefined variable: cexist
File: /home3/tunatack/public_html/islandtackle/smf/Sources/TPortal.php
Line: 1480

8: Undefined variable: cexist
File: /home3/tunatack/public_html/islandtackle/smf/Sources/TPortal.php
Line: 1480

If I remove the two articles from this category and I select a category in the block menu I get the message telling me

No articles were found in this category.

But it does not create an error in the error log.

Renegd98

#5
Please file this as a Bug and provide the details you just provided.  It will get looked into.

Let me know if you don't file this and I will.

Xarcell

It's a TP variable, but I am unable to duplicate the error.

G6Cad

I cant see that error in my logs eather  :-\

Hamster

I get the same error, both with custom and default theme.
Same way he described.

This website is proudly hosted on Crocweb Cloud Website Hosting.