From: Miles B. <mil...@gm...> - 2006-05-01 18:43:58
|
I get the below error when trying to check out the latest snapshot. I've tried running install.php and get the same error. Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/fofredux-20060501/lib/actions/option.php on line 16 -Miles |
From: Evan R. <eva...@gm...> - 2006-05-01 19:26:43
|
must be my error, since that's the new class i added. although line 16 is simply initializing the variable. - can you tell me what php version you are running? - are you able to do anything with the app (other than install)? i suspect not, since it's trying to load options...but better to ask. /evan On 5/1/06, Miles Beck <mil...@gm...> wrote: > I get the below error when trying to check out the latest snapshot. > I've tried running install.php and get the same error. > > Parse error: parse error, unexpected T_STRING, expecting > T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in > /var/www/fofredux-20060501/lib/actions/option.php on line 16 > > -Miles > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmdlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > |
From: Miles B. <mil...@gm...> - 2006-05-01 19:40:56
|
On 5/1/06, Evan Roth <eva...@gm...> wrote: > must be my error, since that's the new class i added. although line > 16 is simply initializing the variable. > > - can you tell me what php version you are running? > - are you able to do anything with the app (other than install)? i > suspect not, since it's trying to load options...but better to ask. > > /evan I'm using php4 on Debian. I cannot do anything with the snapshot. I get the same error no matter what I try. -Miles |
From: Evan R. <eva...@gm...> - 2006-05-01 19:45:20
|
hrmm, i think php4 has trouble typing the only var in the class as an array= . go into that file, change the line... public $vals =3D array(); ...to simply... public $vals; and then report back. i'm on php 5...might need to install a php switcher to test this a bit better. thanx. On 5/1/06, Miles Beck <mil...@gm...> wrote: > On 5/1/06, Evan Roth <eva...@gm...> wrote: > > must be my error, since that's the new class i added. although line > > 16 is simply initializing the variable. > > > > - can you tell me what php version you are running? > > - are you able to do anything with the app (other than install)? i > > suspect not, since it's trying to load options...but better to ask. > > > > /evan > > I'm using php4 on Debian. I cannot do anything with the snapshot. I > get the same error no matter what I try. > > -Miles > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmdlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > |
From: Miles B. <mil...@gm...> - 2006-05-01 19:50:57
|
On 5/1/06, Evan Roth <eva...@gm...> wrote: > hrmm, i think php4 has trouble typing the only var in the class as an arr= ay. > > go into that file, change the line... > public $vals =3D array(); > ...to simply... > public $vals; I'm still getting the same error after making the suggested change in option.php. -Miles |
From: Kevin <ke...@dr...> - 2006-05-01 20:01:14
|
> hrmm, i think php4 has trouble typing the only var in the class as an > array. > > go into that file, change the line... > public $vals =3D array(); > ...to simply... > public $vals; PHP4 doesn't use the public, private, protected, static keywords for clas= s methods or data members. That's the cause of the error. --=20 Kevin |
From: Evan R. <eva...@gm...> - 2006-05-01 21:04:37
|
ah, then you heard the man, Miles. yank out all those publics, there should be 3 of them, and hopefully it works. for the line we mentioned, change public to var, like this... var $vals =3D array(); /evan On 5/1/06, Kevin <ke...@dr...> wrote: > > > hrmm, i think php4 has trouble typing the only var in the class as an > > array. > > > > go into that file, change the line... > > public $vals =3D array(); > > ...to simply... > > public $vals; > > PHP4 doesn't use the public, private, protected, static keywords for clas= s > methods or data members. That's the cause of the error. > > > -- > Kevin > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmdlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > |
From: Miles B. <mil...@gm...> - 2006-05-01 21:20:05
|
On 5/1/06, Evan Roth <eva...@gm...> wrote: > ah, then you heard the man, Miles. yank out all those publics, there > should be 3 of them, and hopefully it works. > for the line we mentioned, change public to var, like this... > var $vals =3D array(); That fixed the previous error I was getting. Now I am getting the below error when I click on a feed with unread items in it. And also when I View New Items. Fatal error: Call to a member function on a non-object in /var/www/fofredux-20060501/view.php on line 83 |
From: Evan R. <eva...@gm...> - 2006-05-01 22:12:35
|
nothing has changed there...so it's strange. i'm assuming that fof_get_feeds is not coming back, which leads me to believe that the options are not being pulled out correctly. probably more non-php4-compliant code on my parts or a default value which was missing is causing something to break. - go to /options.php and see if the options fields are filled in with any values? any stored values will be populated. - try to change each value and save it. (to force it into the database) - if you know how, you could export the fr_config table. you should have 7 name/value pairs. if somethings missing, you were using a default, which is no longer stored...i need to add this to install.php yet (or an object init function would be better actually) if you get errors doing that...let me know. /evan On 5/1/06, Miles Beck <mil...@gm...> wrote: > On 5/1/06, Evan Roth <eva...@gm...> wrote: > > ah, then you heard the man, Miles. yank out all those publics, there > > should be 3 of them, and hopefully it works. > > for the line we mentioned, change public to var, like this... > > var $vals =3D array(); > > That fixed the previous error I was getting. Now I am getting the > below error when I click on a feed with unread items in it. And also > when I View New Items. > > Fatal error: Call to a member function on a non-object in > /var/www/fofredux-20060501/view.php on line 83 > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job ea= sier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim= o > http://sel.as-us.falkag.net/sel?cmdlnk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Fofredux-devel mailing list > Fof...@li... > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > |
From: Evan R. <eva...@gm...> - 2006-05-02 08:51:24
|
hey miles, i'd suggest flipping back to your last working version. i desperately need to install php4, in order to test the compatibility. On 5/2/06, Miles Beck <mil...@gm...> wrote: > On 5/1/06, Evan Roth <eva...@gm...> wrote: > > nothing has changed there...so it's strange. i'm assuming that > > fof_get_feeds is not coming back, which leads me to believe that the > > options are not being pulled out correctly. probably more > > non-php4-compliant code on my parts or a default value which was > > missing is causing something to break. > > > > - go to /options.php and see if the options fields are filled in with > > any values? any stored values will be populated. > > I'm not seeing any values stored in /options.php for the snapshot. I > tried adding some values but am not sure I did it in the right place. > > -Miles > |