Re: [openupload-devel] Parse error in index.php line 59
Status: Beta
Brought to you by:
tsdogs
|
From: Harald H. <hae...@ce...> - 2009-01-31 14:30:44
|
Hi Alessandro, Ok, i will look into upgrading to php5 or even upgrading to a newer distro. I wanted to do it soon or later anyway. I'm just wanted to start with txtdb, later I would use postgres of course. I thank you very much for your help, Best regards Harald On 31.01.2009, at 15:15, ts...@br... wrote: > Hi Harald, > I have found a machine with php 4.2 and it is an incompatibility > with it. > > it does not like the app()-> notation > > using > $application->run(..) solves the problem there, but as this code is > repeated a lot I'd say that php4.x is not supported. > > Also the txtdb won't work as php4 misses file_put_contents... > > I might consider making it work if badly needed on php4. > Isn't there any repository for suse 9 to upgrade php? > > Alessandro > > P.S. Please also consider that the txtdb is not a good solution for > production :) > > >> I double-checked the config file, but didnt find anythin. If you want >> to have a look, I just add the file in this mail. >> >> >> >> Can it be started in debug mode somehow on my site? >> >> Harald >> >> On 31.01.2009, at 11:08, Alessandro Briosi wrote: >> >>> It defenatly works on php5 (haven't tryed Suse specific, but centos >>> 4 / >>> 5, fedora and ubuntu/debian flavors do work) >>> >>> It could also be a configuration error... >>> >>> Alessandro >>> >>> Harald Häntsch ha scritto: >>>> Hi Alessandro, >>>> >>>> It would be nice to know. Its an SuSE SLES9 Server. Soon or later >>>> we >>>> will upgrade it. If this only works on php5, it might get upgraded >>>> even sooner. >>>> >>>> Thanks a lot >>>> >>>> Harald >>>> >>>> On 30.01.2009, at 19:15, Alessandro Briosi wrote: >>>> >>>>> Hi Harald, >>>>> actually your installation seems a pretty old linux distro :) >>>>> >>>>> I'm not even sure it would work with php < version 5.x >>>>> >>>>> line 59 in index.php is: >>>>> app()->run($action,$step); >>>>> >>>>> which does not seem to contain any error. >>>>> Imho could be a class incompatibility with php4, but I haven't got >>>>> any >>>>> instalation which has php4 (and apache 1.3) at hand. >>>>> >>>>> If somebody else could test but I would say that php4 is not >>>>> supported >>>>> anymore... >>>>> I might try to help you debug the 0.4beta1 version to check if >>>>> this is >>>>> the case... >>>>> >>>>> Alessandro >>>>> >>>>> Harald Häntsch ha scritto: >>>>>> Hi, >>>>>> >>>>>> I'm trying to install the openupload with Apache 1.3.29, PHP4 and >>>>>> flat/ >>>>>> txt file as database. I followed the install instruction, but all >>>>>> I'm >>>>>> getting is this on the website >>>>>> >>>>>> Parse error: parse error in /srv/www/htdocs/openupload/www/ >>>>>> index.php >>>>>> on line 59 >>>>>> >>>>>> Could someone give me a hint what could be wrong there? I tried >>>>>> both >>>>>> version 0.3c and 0.4beta1. >>>>>> >>>>>> Thanks in advance, >>>>>> Regards >>>>>> >>>>>> Harald >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> This SF.net email is sponsored by: >>>>>> SourcForge Community >>>>>> SourceForge wants to tell your story. >>>>>> http://p.sf.net/sfu/sf-spreadtheword >>>>>> _______________________________________________ >>>>>> Openupload-devel mailing list >>>>>> Ope...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel >>>>> ------------------------------------------------------------------------------ >>>>> This SF.net email is sponsored by: >>>>> SourcForge Community >>>>> SourceForge wants to tell your story. >>>>> http://p.sf.net/sfu/sf-spreadtheword >>>>> _______________________________________________ >>>>> Openupload-devel mailing list >>>>> Ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by: >>>> SourcForge Community >>>> SourceForge wants to tell your story. >>>> http://p.sf.net/sfu/sf-spreadtheword >>>> _______________________________________________ >>>> Openupload-devel mailing list >>>> Ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/openupload-devel >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by: >>> SourcForge Community >>> SourceForge wants to tell your story. >>> http://p.sf.net/sfu/sf-spreadtheword >>> _______________________________________________ >>> Openupload-devel mailing list >>> Ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/openupload-devel >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword_______________________________________________ >> Openupload-devel mailing list >> Ope...@li... >> https://lists.sourceforge.net/lists/listinfo/openupload-devel >> > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Openupload-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openupload-devel |