TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: bigb on February 22, 2009, 08:13:20 PM

Title: [bugtracker] Undefined variable: cexist
Post by: bigb on February 22, 2009, 08:13:20 PM
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: C:\DWebPro\deploy\www\allnew\Sources\TPortal.php
Line: 1480
 
8: Undefined variable: cexist
File: C:\DWebPro\deploy\www\allnew\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.

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

Went one step ferther setup a new test site all clean and freash - only installed SMF 1.1.8 and TP v1.0 beta 3

added 1 test article set up 1 category and 1 menu block to display that category when selected. 

Error Messages:

8: Undefined variable: cexist
File: C:\DWebPro\deploy\www\testit\Sources\TPortal.php
Line: 1480

More about this can be found: http://www.tinyportal.net/index.php/topic,28496.0.html
Title: Re: [bugtracker] Undefined variable: cexist
Post by: Renegd98 on February 23, 2009, 11:56:32 AM
Thanks.. this will get looked into.
Title: Re: [bugtracker] Undefined variable: cexist
Post by: bloc on March 03, 2009, 01:48:22 PM
- variable $cexist was not defined in some cases. Fixed for TPv1.0 beta4.
Title: Re: [bugtracker] Undefined variable: cexist
Post by: dry3210 on March 25, 2009, 04:13:05 PM
Quote from: Bloc on March 03, 2009, 01:48:22 PM
- variable $cexist was not defined in some cases. Fixed for TPv1.0 beta4.

Is this alot of code fixing or something we could possibly fix real quick ourselves in the meantime before beta 4 arrives?
Title: Re: [bugtracker] Undefined variable: cexist
Post by: IchBin on March 25, 2009, 04:24:58 PM
If Bloc doesn't post the fix, its usually because its not an easy fix. Multiple files etc. There will most likely be many errors while you are using a beta product, so you might want to get used to it. :)
Title: Re: [bugtracker] Undefined variable: cexist
Post by: dry3210 on March 25, 2009, 07:57:39 PM
Quote from: IchBinâ„¢ on March 25, 2009, 04:24:58 PM
If Bloc doesn't post the fix, its usually because its not an easy fix. Multiple files etc. There will most likely be many errors while you are using a beta product, so you might want to get used to it. :)

I realize that.  Just figured I'd ask anyway