egroupware edits broken after migration

View: New views
12 Messages — Rating Filter:   Alert me  

egroupware edits broken after migration

by pjama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
I've migrated egroupware from solaris 10 on sparc to x86. I've sourced packages from the same source at opencsw.org for apache, php, mysql etc. Apache (now 2.2.11 up from 2.2.9?) and php (now 5.2.9) were marginally later versions, mysql is same at 5.0. I moved the egroupware code from old server to new server as is. The egroupware version is snapshot 2009/03/09 with the syncml patches and WAS working fine on the old server.

Everything works fine on the new server except when I go to edit something. eg an existing calendar appointment (but similar probs with address book)

the error in the browser is:
Error!
Remote server or file not found

You tried to access the address https://<my.server>t/egroupware/index.php?menuaction=calendar.calendar_uiforms.edit&cal_id=1078&date=20090711, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page.
Make sure your Internet connection is active and check whether other applications that rely on the same connection are working.

the apache error log has:
[Thu Jul 09 19:29:04 2009] [error] [client 192.168.200.203] PHP Warning:  Can't load stream-wrapper for scheme 'links'! in /opt/www/eGroupware-1.6-snapshot-20090309/phpgwapi/inc/class.vfs_stream_wrapper.inc.php on line 760, referer: https://<my.server>/egroupware/?menuaction=calendar.calendar_uiviews.index
[Thu Jul 09 19:29:04 2009] [error] [client 192.168.200.203] PHP Warning:  filectime() [function.filectime]: stat failed for /opt/www/egroupware/etemplate/js/etemplate.js in /opt/www/eGroupware-1.6-snapshot-20090309/etemplate/inc/class.etemplate.inc.php on line 2166, referer: https://<my.server>/egroupware/?menuaction=calendar.calendar_uiviews.index
[Thu Jul 09 19:29:04 2009] [error] [client 192.168.200.203] PHP Warning:  filemtime() [function.filemtime]: stat failed for /opt/www/egroupware/etemplate/templates/default/app.css in /opt/www/eGroupware-1.6-snapshot-20090309/etemplate/inc/class.etemplate.inc.php on line 249, referer: https://<my.server>/egroupware/?menuaction=calendar.calendar_uiviews.index
[Thu Jul 09 19:29:04 2009] [error] [client 192.168.200.203] PHP Fatal error:  Class 'tplsavant2' not found in /opt/www/eGroupware-1.6-snapshot-20090309/phpgwapi/templates/idots/class.idots_framework.inc.php on line 68, referer: https://<my.server>/egroupware/?menuaction=calendar.calendar_uiviews.index

I tried going to a later snapshot but same problem so I've reverted to what was working on the old server.

It's probably something simple that I have missed but ATM I have no clue.

I've googled and found this post with the same problem but no resolution:
 http://www.nabble.com/Tracker-:-blank-page-since-upgrade-to-1.6-p21457088s3741.html

Any assistance greatly appreciated.

Cheers
P

Re: egroupware edits broken after migration

by pjama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi
I'd REALLY appreciate some assistance as I've still not fixed the problem.

I've compared my applications and installed a few extra php modules that were previously bundled but now packaged separately. php5 -i are now comparable between old and new.

I've completley reinstalled egroupware to v1.6.001 c/w latest SynML patch... The patch applied cleanly.

I've re-setup mysql from scratch and re-imported the egroupware databse exported from the old server.

But still the same errors in the apache log mentioned in my previous post.

also note that the browser I was using in previous post was opera, I get a blank page in firefox.

debug seems to be turned on in my php.ini.

ANY assistance to at least trouble shoot would be appreciated.

Re: egroupware edits broken after migration

by ralfbecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You probablly changed the path, where you installed EGroupware and
failed to put the new path in your header.inc.php.

Ralf

pjama schrieb:

> Hi
> I'd REALLY appreciate some assistance as I've still not fixed the problem.
>
> I've compared my applications and installed a few extra php modules that
> were previously bundled but now packaged separately. php5 -i are now
> comparable between old and new.
>
> I've completley reinstalled egroupware to v1.6.001 c/w latest SynML patch...
> The patch applied cleanly.
>
> I've re-setup mysql from scratch and re-imported the egroupware databse
> exported from the old server.
>
> But still the same errors in the apache log mentioned in my previous post.
>
> also note that the browser I was using in previous post was opera, I get a
> blank page in firefox.
>
> debug seems to be turned on in my php.ini.
>
> ANY assistance to at least trouble shoot would be appreciated.
>

--
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: rb@...

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Gudrun Müller,
        Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: egroupware edits broken after migration

by pjama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ralfbecker wrote:
You probablly changed the path, where you installed EGroupware and
failed to put the new path in your header.inc.php.

Ralf
Hi Ralf, thanks for the repy.

The egroupware directory path is the same. To be sure I've recreated the header.inc.php but same result.
Note that generally egroupware works, I can browse calendar, email, addressbook, it's just when I try and edit something (tried appointment and addressbook entry) that I get the afore mentioned error.

I read the FAQ w/r to blank screen. When I turned display_errors=On in php.ini I got the same afore mentioned errors in the browser. log_errors=On was on by default.

I can't help thinking it's php5 as that seems to have undergone the biggest change in packaging since the old machine was installed but I have no way of telling. There's nothing further I can generate in the apache log and there's nothing in messages.

Any ideas?

Thanks
P

Re: egroupware edits broken after migration

by ralfbecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Temporary comment out the following line at the end of your header.inc.php:

        ob_start(); // to prevent error messages to be send before our headers

Anyway there's an easy way to get this fixed quickly: buy commercial
support (www.stylite.de)

Ralf

pjama schrieb:

>
>
> ralfbecker wrote:
>> You probablly changed the path, where you installed EGroupware and
>> failed to put the new path in your header.inc.php.
>>
>> Ralf
>>
>>
>
> Hi Ralf, thanks for the repy.
>
> The egroupware directory path is the same. To be sure I've recreated the
> header.inc.php but same result.
> Note that generally egroupware works, I can browse calendar, email,
> addressbook, it's just when I try and edit something (tried appointment and
> addressbook entry) that I get the afore mentioned error.
>
> I read the FAQ w/r to blank screen. When I turned display_errors=On in
> php.ini I got the same afore mentioned errors in the browser. log_errors=On
> was on by default.
>
> I can't help thinking it's php5 as that seems to have undergone the biggest
> change in packaging since the old machine was installed but I have no way of
> telling. There's nothing further I can generate in the apache log and
> there's nothing in messages.
>
> Any ideas?
>
> Thanks
> P
>

--
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: rb@...

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Gudrun Müller,
        Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: egroupware edits broken after migration

by pjama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ralfbecker wrote:
Temporary comment out the following line at the end of your header.inc.php:

        ob_start(); // to prevent error messages to be send before our headers

Anyway there's an easy way to get this fixed quickly: buy commercial
support (www.stylite.de)

Ralf
edited thus:
        /* ob_start();  // to prevent error messages to be send before our headers
        */


Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Warning:  Can't load stream-wrapper for scheme 'links'! in /opt/www/eGroupware-1.6.001/phpgwapi/inc/class.vfs_stream_wrapper.inc.php on line 760, referer: https://<my.server>/egroupware/index.php?menuaction=calendar.calendar_uiviews.index
[Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Warning:  filectime() [function.filectime]: stat failed for /opt/www/egroupware/etemplate/js/etemplate.js in /opt/www/eGroupware-1.6.001/etemplate/inc/class.etemplate.inc.php on line 2166, referer: https://<my.server>/egroupware/index.php?menuaction=calendar.calendar_uiviews.index
[Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Warning:  filemtime() [function.filemtime]: stat failed for /opt/www/egroupware/etemplate/templates/default/app.css in /opt/www/eGroupware-1.6.001/etemplate/inc/class.etemplate.inc.php on line 249, referer: https://<my.server>/egroupware/index.php?menuaction=calendar.calendar_uiviews.index
[Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Fatal error:  Class 'tplsavant2' not found in /opt/www/eGroupware-1.6.001/phpgwapi/templates/idots/class.idots_framework.inc.php on line 68, referer: https://pjama.net/egroupware/index.php?menuaction=calendar.calendar_uiviews.index


commercial support is not really an option for a home server. I use it to maintain family calendars, addressbooks etc... although I could possibly raid the kid's money boxes..... ;)

BTW, thanks for looking at it

Cheers
P

Re: egroupware edits broken after migration

by ralfbecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As you see in the logs, there a files missing. That need to be fixed!

Ralf

pjama schrieb:

>
>
> ralfbecker wrote:
>> Temporary comment out the following line at the end of your
>> header.inc.php:
>>
>> ob_start(); // to prevent error messages to be send before our headers
>>
>> Anyway there's an easy way to get this fixed quickly: buy commercial
>> support (www.stylite.de)
>>
>> Ralf
>>
>>
>>
>
> edited thus:
>         /* ob_start();  // to prevent error messages to be send before our
> headers
>         */
>
>
> Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Warning:
> Can't load stream-wrapper for scheme 'links'! in
> /opt/www/eGroupware-1.6.001/phpgwapi/inc/class.vfs_stream_wrapper.inc.php on
> line 760, referer:
> https://<my.server>/egroupware/index.php?menuaction=calendar.calendar_uiviews.index
> [Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Warning:
> filectime() [ function.filectime function.filectime ]: stat failed for
> /opt/www/egroupware/etemplate/js/etemplate.js in
> /opt/www/eGroupware-1.6.001/etemplate/inc/class.etemplate.inc.php on line
> 2166, referer:
> https://<my.server>/egroupware/index.php?menuaction=calendar.calendar_uiviews.index
> [Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Warning:
> filemtime() [ function.filemtime function.filemtime ]: stat failed for
> /opt/www/egroupware/etemplate/templates/default/app.css in
> /opt/www/eGroupware-1.6.001/etemplate/inc/class.etemplate.inc.php on line
> 249, referer:
> https://<my.server>/egroupware/index.php?menuaction=calendar.calendar_uiviews.index
> [Fri Jul 10 19:29:54 2009] [error] [client 192.168.200.203] PHP Fatal error:
> Class 'tplsavant2' not found in
> /opt/www/eGroupware-1.6.001/phpgwapi/templates/idots/class.idots_framework.inc.php
> on line 68, referer:
> https://pjama.net/egroupware/index.php?menuaction=calendar.calendar_uiviews.index
>
>
> commercial support is not really an option for a home server. I use it to
> maintain family calendars, addressbooks etc... although I could possibly
> raid the kid's money boxes..... ;)
>
> BTW, thanks for looking at it
>
> Cheers
> P
>

--
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: rb@...

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Gudrun Müller,
        Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: egroupware edits broken after migration

by pjama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ralfbecker wrote:
As you see in the logs, there a files missing. That need to be fixed!

Ralf
Hey? where? This is a complete new install of the egroupware content after old install had same error.
Not familiar with debugging using apache log but I checked all mentioned "files" and they're there alright.

Or do you mean php files?

What's this mean, can't find function?
PHP Warning:  filectime() [function.filectime]: stat failed for /opt/www/egroupware/etemplate/js/etemplate.js ....


The files there..
bash-3.00# ls -lsa /opt/www/egroupware/etemplate/templates/default/app.css
   6 -rw-r--r--   1 apache   apache      2134 Nov 24  2008 /opt/www/egroupware/etemplate/templates/default/app.css
bash-3.00#


Sorry to be a pest. I've not struck this before

P

Re: egroupware edits broken after migration

by ralfbecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

pjama schrieb:

> ralfbecker wrote:
>> As you see in the logs, there a files missing. That need to be fixed!
>>
>> Ralf
>
> Hey? where? This is a complete new install of the egroupware content after
> old install had same error.
> Not familiar with debugging using apache log but I checked all mentioned
> "files" and they're there alright.
>
> Or do you mean php files?

.php and other files, eg. Can't load stream-wrapper for scheme 'links'!
misses phpgwapi/inc/class.links_stream_wrapper.inc.php

> What's this mean, can't find function?
> PHP Warning:  filectime() [function.filectime]: stat failed for
> /opt/www/egroupware/etemplate/js/etemplate.js ....

Cant stat means, PHP can NOT find the file!

> The files there..
> bash-3.00# ls -lsa /opt/www/egroupware/etemplate/templates/default/app.css
>    6 -rw-r--r--   1 apache   apache      2134 Nov 24  2008
> /opt/www/egroupware/etemplate/templates/default/app.css

It's nice that you can find it, but it does not matter. PHP has to find
it. Problem could be eg. open_basedir.

Anyway that's not a general problem, if you want us to debug it on your
server or need further support, you need to contact the professional
support: www.stylite.de

Ralf

> bash-3.00#
>
>
> Sorry to be a pest. I've not struck this before
>
> P
>

--
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: rb@...

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Gudrun Müller,
        Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: egroupware edits broken after migration

by pjama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I have downgraded my php from 5.2.9 to 5.2.4 and everything now works as expected. These are the only two package versions available at opencsw.org. I believe 5.3 is coming real soon now.

I guess the question is: Is it that egroupware is not compatible with 5.2.9 or is there some configuration difference between 5.2.9 and 5.2.4 at compile/install/configure time? As mentioned previously, the php.ini files were the same and "php -i" results were comparable between olp machine with 5.2.4 and new machine with 5.2.9.

Is anyone running PHP 5.2.9 with EGW 1.6.001? If so what platform?

Thanks
P

Re: egroupware edits broken after migration

by ralfbecker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Question is what 1.6 are you using. The stock 1.6.001 package from
November last year, might not be working with 5.2.9. The daily snapshot
(www.egroupware.org/download) definitely is. Same will be true with
1.6.002 comming end of this or beginning of next week. It will be more
or less identical to current daily snapshot (beside the version number).

Ralf

pjama schrieb:

>
> I have downgraded my php from 5.2.9 to 5.2.4 and everything now works as
> expected. These are the only two package versions available at opencsw.org.
> I believe 5.3 is coming real soon now.
>
> I guess the question is: Is it that egroupware is not compatible with 5.2.9
> or is there some configuration difference between 5.2.9 and 5.2.4 at
> compile/install/configure time? As mentioned previously, the php.ini files
> were the same and "php -i" results were comparable between olp machine with
> 5.2.4 and new machine with 5.2.9.
>
> Is anyone running PHP 5.2.9 with EGW 1.6.001? If so what platform?
>
> Thanks
> P

--
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: rb@...

www.stylite.de
www.egroupware.org
________________________________________________

Geschäftsführer Andre Keller, Gudrun Müller,
        Nigel Vickers und Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
eGroupWare-users mailing list
eGroupWare-users@...
https://lists.sourceforge.net/lists/listinfo/egroupware-users

Re: egroupware edits broken after migration

by pjama :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


ralfbecker wrote:
Question is what 1.6 are you using. The stock 1.6.001 package from
November last year, might not be working with 5.2.9. The daily snapshot
(www.egroupware.org/download) definitely is. Same will be true with
1.6.002 comming end of this or beginning of next week. It will be more
or less identical to current daily snapshot (beside the version number).

Ralf
Initially I was using a snapshot from 2009/03/07, then I tried a snapshot from from 2009/07/09 and finally reverted to 1.6.001. Both the first snapshot and 1.6.001 had the SyncML patch applied. (it didn't apply cleanly to 2009/07/09 as expected).

Re 1.6.002: that's excellent news! Thanks for all your hard work and for egroupware.

BTW while trying to sort this problem I found what I *think* is a typo in the code that you've probably caught for 1.6.002 but I'll mention anyway. in:

calendar/inc/class.calendar_uiviews.inc.php
and
phpgwapi/inc/class.jscalendar.inc.php

There's a number of instances of "phpgwpai" which I think should be "phpgwapi"

Cheers
P