TinyPortal

Development => Feedback => Bugs/Errors => Topic started by: SadRacH on September 09, 2006, 04:44:26 PM

Title: error subs.php
Post by: SadRacH on September 09, 2006, 04:44:26 PM
hello.. pliss need help whit this error.. on TP 095 (no speak English sorry)

Parse error: syntax error, unexpected ';', expecting ']' in /home/rapvisio/public_html/foro/Sources/Subs.php on line 2798
Title: Re: error subs.php
Post by: Max on September 09, 2006, 04:50:55 PM
Quote from: SadRacH on September 09, 2006, 04:44:26 PM
Parse error: syntax error, unexpected ';', expecting ']' in /home/rapvisio/public_html/foro/Sources/Subs.php on line 2798

Was this done by a recent mod or a manual change?...
What version of SMF/Tinyportal?, do you have other mods installed?

Check your sources folder a see if theres a backup made like 'Subs.php~'
Title: Re: error subs.php
Post by: SadRacH on September 09, 2006, 05:02:17 PM
I have not installed single other mod smf RC3 and TP 0.95
Title: Re: error subs.php
Post by: Max on September 09, 2006, 05:05:45 PM
Do you have a backup of that file?..

if not upload your Subs.php file, i will take a look.
Title: Re: error subs.php
Post by: SadRacH on September 09, 2006, 05:11:19 PM
reinstall a copy of this file and now gives the following message me

Fatal error: Call to undefined function: tp_loadtheme () in /home/rapvisio/public_html/sd/foro/Sources/Load.php on line 1114

(this passage after installing TP 095)
Title: Re: error subs.php
Post by: gerrymo on September 09, 2006, 05:23:00 PM
Try the one below. Its from a clean RC3/TP 0.95B. Backup the one you have incase of problems.
Title: Re: error subs.php
Post by: Max on September 09, 2006, 05:27:13 PM

Thanks gerry, you knew what i was thinking :P
Title: Re: error subs.php
Post by: SadRacH on September 09, 2006, 05:29:50 PM
I do not work with that subs.php clean sige giving this error me

Fatal error: Call to undefined function: tp_loadtheme () in /home/rapvisio/public_html/sd/foro/Sources/Load.php on line 1114

the moan I believe that I must reinstal everything. thanks to all
Title: Re: error subs.php
Post by: gerrymo on September 09, 2006, 05:51:54 PM
Did the one I gave you above not work? It works with no errors on 2 of my sites.
Title: Re: error subs.php
Post by: G6Cad on September 09, 2006, 06:30:10 PM
That error usually show up when some one have installed another theme, and that theme is wrong for the version of SMF

Did you download and installed any other theme? or did you HAVE other themes installed before the install or upgrade of tp?

Also, a link to your site is good for us to have