TinyPortal

Development => Support => Topic started by: Syndel on September 16, 2006, 07:34:58 PM

Title: Recent articles in center block causing theme error
Post by: Syndel on September 16, 2006, 07:34:58 PM
So when I create a module box to put the recently written articles in the center block, I can no longer access Configuration > Current Theme on my Admin panel. At first I did not know what was causing it and since it was leading me to a

500 Server Error
A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again.

I decided to call the server, of course. The conversation as it follow, just for giggles:

QuoteNoah: I just went there and it looks to be working fine
Paula: When I click in the COnfiguration of my message board theme I get this screen though
Noah: also, in the URL.. it looks like your page is having a problem with the selected theme
Paula: is the Default theme
Noah: what software?
Paula: SMF
Noah: have you altered any of the php pages or configuration files?
Paula: that happens constantly because it is a portal.... but I did not touch the default news file that is what I am trying to edit... do you think that i should try to seek help with SMF since all seems to be fine with you?
Noah: let me check one more thing
Noah: one more moment please
Paula: ok
Noah: zend_optimizer.version=2.6.2 is what is loaded on the server.....
Noah: Your forum is looking for zend_optimizer.version=4.4.x
Paula: and what do I do?
Noah: if you go into your control panel... click error logs... you will see the error message
Noah: did you install SMF through fantastico or is it a 3rd party install?
Paula: 3rd party.. I unzipped it and installed myself
Noah: I thihnk that the version you installed isn't compatible with the version of zend optimizer we are running
Paula: ANy chance you guys upgrade this?
Paula: considering we will spend 2 years together that are already paid and I left a server to be with you... meh
Noah: it would have to be a server wide upgrade.... I don't see it happening
Paula: maybe you should consider because nowadays most communities DO use SMF... and this is their latest release...
Noah: there may be a line of code you could put in the php.ini file to bridge between the 2 versions
Paula: could you find it out for me?
Noah: I'm would have to research it... I'm not a programmer...
Noah: I would*
Paula: mmmm I will get in contact with the support then, do not worry
Noah: I am support...
Noah: they will tell you the same....
Paula: the desk... ticket... ye know
Noah: I would recommend speaking with a programmer
Noah: we are not programmers....

Needless to say that after some messing here and there and going back through what I possibly added that day I ended up in the the articles block. Removing it all was fine again. Not that it isn't when it is there, I just cannot edit the theme. The error log says:

8: Undefined index: tp_prefix
File: /home/khaotikd/public_html/Sources/TPmodules.php
Line: 577


Apply Filter: Only show the errors with the same message
8: Undefined index: TPortal_front_type
File: /home/khaotikd/public_html/Themes/default/Errors.template.php (eval?)
Line: 668


Apply Filter: Only show the errors with the same message
8: Undefined index: TPortal_front_type
File: /home/khaotikd/public_html/Themes/default/Errors.template.php (eval?)
Line: 655

Database Error: Table 'khaotikd_smf.articles' doesn't exist
File: /home/khaotikd/public_html/Sources/TPmodules.php
Line: 582

8: Undefined index: tp_prefix
File: /home/khaotikd/public_html/Sources/TPmodules.php
Line: 577

and it goes on and on and on for 17 pages... in just one click.
Title: Re: Recent articles in center block causing theme error
Post by: G6Cad on September 16, 2006, 10:41:03 PM
Did you go for the manual install i told you in your last post.
You need to get TP installed properly in order to see every thing as it was before.
Extract the mnual install package, upload the files and make sure they get uploaded with out errors, then point your browser to the manual_tp_install.php and it will update the DB for you.
Seems like you have both files missing, and a non upgraded Database
Title: Re: Recent articles in center block causing theme error
Post by: Syndel on September 16, 2006, 10:46:23 PM
No... wait... this is not that problematic board I told you....
This is my normal working board, not that one I am installing from scratch that I replied again on that other thread *s*
Title: Re: Recent articles in center block causing theme error
Post by: G6Cad on September 16, 2006, 11:08:30 PM
Ah, ok, but you have to fix the errors you posted anyway ;)
Follow the steps and make sure the files gets uploaded correct and then run the DB updater
Title: Re: Recent articles in center block causing theme error
Post by: Syndel on September 16, 2006, 11:16:54 PM
there are like 17 pages of errors naming different areas of the portal... do I go all over them then? *s* Sorry about bugging so much, but I don't want to do stupid stuff :)

And as for the other install... *sighs* is not installing at all... the newest is Fatal error: Call to undefined function: tportal_version() in /mounted-storage/home16a/sub002/sc18420-AFHM/dark-mirage.com/forums/Sources/Load.php(1651) : eval()'d code on line 505
Title: Re: Recent articles in center block causing theme error
Post by: G6Cad on September 16, 2006, 11:21:27 PM
If you upload all the files from the manual install package, and you are SURE the file were uploaded correct, you will have all new and fresh TP files there. then run the manual_tp_install.php for the DB install of the tables, it will update old tables and create new ones where it cant find any. All content in the database will still be there though, just fresh and updated :)
Title: Re: Recent articles in center block causing theme error
Post by: Syndel on September 16, 2006, 11:24:10 PM
*crosses fingers and goes* *L*
Title: Re: Recent articles in center block causing theme error
Post by: Syndel on September 16, 2006, 11:46:26 PM
It did not fix it... but sure resetted the blog module *L*