Hi Anthony,
I realize the Minify integration is under development, so I thought I’d
lightly report an issue which leads to (at least) news entries in the
news_admin module to not be editable or created. These errors occur, I think
due to the way that the new code is figuring out the root of the installation.
The symptom is that when clicking edit on a news item or trying to create a
new one, there is no text box to edit or enter the content.
The Apache logs reveal:
File does not exist: /var/www/egroupware-svn/egroupware/skins, referer:
https://messinet.com/egroupware/index.php?menuaction=news_admin.uinews.edit&news_id=119
File does not exist: /var/www/egroupware-svn/egroupware/config.js, referer:
https://messinet.com/egroupware/index.php?menuaction=news_admin.uinews.edit&news_id=119
File does not exist: /var/www/egroupware-svn/egroupware/lang, referer:
https://messinet.com/egroupware/index.php?menuaction=news_admin.uinews.edit&news_id=119
File does not exist: /var/www/egroupware-svn/egroupware/plugins, referer:
https://messinet.com/egroupware/index.php?menuaction=news_admin.uinews.edit&news_id=119
File does not exist: /var/www/egroupware-svn/egroupware/contents.css
My installation is as follows:
/var/www/egroupware-svn/egroupware is the DocRoot, inside of which I place
symlinks for all enabled applications as the directory tree is like that laid
out in http://svn.egroupware.org/egroupware/trunk/ (this enables me to use Git
to have better control over individual changes in my repo and roll-back when
necessary):
In /var/www/egroupware-svn/egroupware are symlinks like:
phpgwapi -> …/phpgwapi
news_admin -> …/news_admin
This kind of layout is not supported, at the moment you can only switch
minifying completely off, by setting the following in your database:
INSERT INTO egw_config (config_app,config_name,config_value)
VALUES (‘phpgwapi’,‘minify_debug’,‘true’);
or put the following in your header.inc.php
$GLOBALS[‘egw_info’][‘server’][‘minify_debug’] = true;
Not sure if I will ever support such a layout, as it would require to
intensively hack minify itself, which I dont want to, as I have to
maintain it then.
Ralf
The actual filesystem locations of phpgwapi and news_admin are:
/var/www/egroupware-svn/phpgwapi
/var/www/egroupware-svn/news_admin
This occurs with trunk@40518. To temporarily resolve the issue, I have added
the following symlinks in the /var/www/egroupware-svn/egroupware directory:
config.js -> phpgwapi/js/ckeditor3/config.js
contents.css -> phpgwapi/js/ckeditor3/contents.css
lang -> phpgwapi/js/ckeditor3/lang
plugins -> phpgwapi/js/ckeditor3/plugins
skins -> phpgwapi/js/ckeditor3/skins
And the errors go away and I am able to add and edit news content.
However, for some reason, the code is trying to find these files in the
DocRoot, where they wouldn’t normally exist, regardless of the symlinks.
Thanks. -A
Don’t let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany
Don’t let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers