Trying to test v1.8 - php undefined function issue

classic Classic list List threaded Threaded
3 messages Options
bruce bruce
Reply | Threaded
Open this post in threaded view
|

Trying to test v1.8 - php undefined function issue

Hi.

I'm trying to test the community 1.8, to determine if the fee based
version would be a good bet.

My problems.

I'm trying to install the egroupware app
>>http://www.egroupware.org/download<<. Given that there is no rpm, I
downloaded the

eGroupware-1.8.001.20101201.tar.gz
eGroupware-egw-pear-1.8.001.20101201.tar.gz

I'm running fedora 13, with the default/stock apache/php/mysql/pear.

I've also set the user/permissions for the egroupware files via

find -type f -exec chmod 755 '{}' \;
find -type d -exec chmod 750 '{}' \;

I've also modified the apache httpd.conf as required to setup the test
site, and this works as I can see the config page.

The initial configuration page indicates that the required subordinate
functions are installed. The only "warnings" i get have to do with
using a db, that i'm not installing. I'm using mysql for the test.

The next step in the process, would be to initiate, and fill in the
header.inc.php, which is auto generated via the
header_manager.php/form.

However, when I attempt to generate the manageheader.php to invoke the
form, I get a blank page, and the form is never displayed.

I suspected that this might be a user/permission error, but for the
life of me I can't track it down. Viewing the apache
error_log/access_log didn't shed any light on this either.

I've talked to a few people via the irc egroupware, but was unable to
figure this out.

I've narrowed the issue down, using the debug function of php. It
appears that the issue is within the code section of the
manageheader.php file:
               $setup_tpl->set_var('lang_select','<tr><td
colspan="2"><form action="manageheader.php" method="post">Please
Select your language '.lang_select(True,'en')."</form></td></tr>");

Fatal error: Call to undefined function lang_select() in
/var/www/html/egroup/setup/manageheader.php on line 230

The "lang_select" is in the class >>>  setup_html <<<

Any potential pointers/thoughts would be welcome!!

I've inspected the 1.6 code, and see the same code, so I'm curious as
to what could be causing this issue. Could this be due to some stting
within the php.ini env. On the other hand, I don't see how the
setup_html class is ever setup to use the lang_select method of the
class.

Thanks

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Leithoff, Klaus Leithoff, Klaus
Reply | Threaded
Open this post in threaded view
|

Re: Trying to test v1.8 - php undefinedfunction issue

Sorry no clue, but it seems that some of the basic classes which are usually loaded are not loaded in your case.

The adding of select_lang to class.setup_html (and removing it from functions.inc.php was done in
Thu Jul 29 08:30:41 2010 UTC (6 months ago) by ralfbecker.

in manageheader.php
functions.inc.php is included via
include('./inc/functions.inc.php');

You could try to add explicitly
include('./inc/class.setup_html.inc.php');
or call the lang_select as setup_html::lang_select

But I doubt, that either of this will help a lot. I assume there is some problem with your php/enviroment/whatever that is
somehow preventing the loading of stuff, that is usually loaded. I assume there will be more stuff to fail loading.
So I think the missing lang_select is the symptom of something more fundamental in the background.

If you must use tgz why not using the daily snapshot?
http://dev.egroupware.org/other/1.8-snapshot.tar.bz2

It will not solve your problem, but you have a up to date 1.8 if you get it running
 
----------------ursprüngliche Nachricht-----------------
Von: "bruce" [hidden email]
An: [hidden email], [hidden email]
Datum: Mon, 31 Jan 2011 06:08:53 -0800
-------------------------------------------------
 
 

> Hi.
>
> I'm trying to test the community 1.8, to determine if the fee based
> version would be a good bet.
>
> My problems.
>
> I'm trying to install the egroupware app
>>>http://www.egroupware.org/download<<. Given that there is no rpm, I
> downloaded the
>
> eGroupware-1.8.001.20101201.tar.gz
> eGroupware-egw-pear-1.8.001.20101201.tar.gz
>
> I'm running fedora 13, with the default/stock apache/php/mysql/pear.
>
> I've also set the user/permissions for the egroupware files via
>
> find -type f -exec chmod 755 '{}' \;
> find -type d -exec chmod 750 '{}' \;
>
> I've also modified the apache httpd.conf as required to setup the test
> site, and this works as I can see the config page.
>
> The initial configuration page indicates that the required subordinate
> functions are installed. The only "warnings" i get have to do with
> using a db, that i'm not installing. I'm using mysql for the test.
>
> The next step in the process, would be to initiate, and fill in the
> header.inc.php, which is auto generated via the
> header_manager.php/form.
>
> However, when I attempt to generate the manageheader.php to invoke the
> form, I get a blank page, and the form is never displayed.
>
> I suspected that this might be a user/permission error, but for the
> life of me I can't track it down. Viewing the apache
> error_log/access_log didn't shed any light on this either.
>
> I've talked to a few people via the irc egroupware, but was unable to
> figure this out.
>
> I've narrowed the issue down, using the debug function of php. It
> appears that the issue is within the code section of the
> manageheader.php file:
> $setup_tpl->set_var('lang_select','
<td

> colspan="2"><form action="manageheader.php" method="post">Please
> Select your language '.lang_select(True,'en')."</form></td></tr>");
>
> Fatal error: Call to undefined function lang_select() in
> /var/www/html/egroup/setup/manageheader.php on line 230
>
> The "lang_select" is in the class >>> setup_html <<<
>
> Any potential pointers/thoughts would be welcome!!
>
> I've inspected the 1.6 code, and see the same code, so I'm curious as
> to what could be causing this issue. Could this be due to some stting
> within the php.ini env. On the other hand, I don't see how the
> setup_html class is ever setup to use the lang_select method of the
> class.
>
> Thanks
>
>
> --------------------------------------------------------------------
> ----------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> eGroupWare-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/egroupware-developers
>

--
[hidden email]
Stylite GmbH
[ open style of IT ]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon 06352 . 70629-0
fax 06352 . 70629-30
www.stylite.de
Geschäftsführer: Andre Keller, Ralf Becker
Handelsregister Kaiserslautern HRB 30575
USt-ID: DE214280951



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
Ralf Becker Ralf Becker
Reply | Threaded
Open this post in threaded view
|

Re: Trying to test v1.8 - php undefinedfunction issue

In reply to this post by bruce
Hi Bruce,

the issue is now fixed in SVN and with the next maintenance release also for the packages.

It only happens when your browser signals none of the languages supported by EGroupware and you dont accept cookies.

I also fixed an related issue: no language selection shown in check_install/manageheader, if browser signals no supported language.

Ralf
 
----------------ursprüngliche Nachricht-----------------
Von: "bruce" [hidden email]
An: [hidden email], [hidden email]
Datum: Mon, 31 Jan 2011 06:08:53 -0800
-------------------------------------------------
 
 

> Hi.
>
> I'm trying to test the community 1.8, to determine if the fee based
> version would be a good bet.
>
> My problems.
>
> I'm trying to install the egroupware app
>>>http://www.egroupware.org/download<<. Given that there is no rpm, I
> downloaded the
>
> eGroupware-1.8.001.20101201.tar.gz
> eGroupware-egw-pear-1.8.001.20101201.tar.gz
>
> I'm running fedora 13, with the default/stock apache/php/mysql/pear.
>
> I've also set the user/permissions for the egroupware files via
>
> find -type f -exec chmod 755 '{}' \;
> find -type d -exec chmod 750 '{}' \;
>
> I've also modified the apache httpd.conf as required to setup the test
> site, and this works as I can see the config page.
>
> The initial configuration page indicates that the required subordinate
> functions are installed. The only "warnings" i get have to do with
> using a db, that i'm not installing. I'm using mysql for the test.
>
> The next step in the process, would be to initiate, and fill in the
> header.inc.php, which is auto generated via the
> header_manager.php/form.
>
> However, when I attempt to generate the manageheader.php to invoke the
> form, I get a blank page, and the form is never displayed.
>
> I suspected that this might be a user/permission error, but for the
> life of me I can't track it down. Viewing the apache
> error_log/access_log didn't shed any light on this either.
>
> I've talked to a few people via the irc egroupware, but was unable to
> figure this out.
>
> I've narrowed the issue down, using the debug function of php. It
> appears that the issue is within the code section of the
> manageheader.php file:
> $setup_tpl->set_var('lang_select','
<td

> colspan="2"><form action="manageheader.php" method="post">Please
> Select your language '.lang_select(True,'en')."</form></td></tr>");
>
> Fatal error: Call to undefined function lang_select() in
> /var/www/html/egroup/setup/manageheader.php on line 230
>
> The "lang_select" is in the class >>> setup_html <<<
>
> Any potential pointers/thoughts would be welcome!!
>
> I've inspected the 1.6 code, and see the same code, so I'm curious as
> to what could be causing this issue. Could this be due to some stting
> within the php.ini env. On the other hand, I don't see how the
> setup_html class is ever setup to use the lang_select method of the
> class.
>
> Thanks
>
>
> --------------------------------------------------------------------
> ----------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> eGroupWare-developers mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/egroupware-developers
>

--

        --
        Ralf Becker
        Director Software Development
       
        Stylite GmbH
        [open style of IT]
       
        Morschheimer Strasse 15
        67292 Kirchheimbolanden
       
        fon +49 (0) 6352 70629-0
        fax +49 (0) 6352 70629-30
        mailto: [hidden email]
       
        www.stylite.de
        www.egroupware.org
        ________________________________________________
       
        Geschäftsführer Andre Keller, Ralf Becker
        Registergericht Kaiserslautern HRB 30575
        Umsatzsteuer-Id / VAT-Id: DE21428095




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
eGroupWare-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/egroupware-developers