Normal Xaraya error processing has stopped because of an error encountered.
The last registered error message is:
Product:
Component:
PHP Error code: 2
At: /var/www/localhost/htdocs/var/cache/templates/c1818f044ab9e9b759b0de52ead1e1c9.php (Line: 4) Cannot modify header information - headers already sent
[themes/Xaraya_Classic/pages/default.xt]
any help would be appreciated, i know this is an include"file.php" problem just not sure where to look, this happens only when I goto the gallery2 link from the nav bar
http://larkin.home.kg
Posts: 32509
elarkin, could you deactivate the only embedded mode in config.php of g2.
then please visit your g2 in standalone (http://larkin.home.kg/gallery2/).
do you get there the same error (just without the xaraya text around it)?
if not integration version are you using? (see xaraya -> modules)
Posts: 18
0.6.10 is the Xaraya version of the module.
Xaraya 1.0.0-RC3
Gallery2-Beta4 from CVS (JPullman nightly CVS page)
I did set it back to standalone and it worked just fine.
one more thing I found was that i could not use the Java or the XP publish to upload pictures I could only use the standard browser interface, when it was wrapped in xaraya but standalone it works fine.
Posts: 18
also have another problem with a windows installation I have tried, same specs as above, but I keep getting a "c:" placed in front of every single link inside xaraya
http://127.0.0.1/xar/c:index.php?module=gallery2&g2_view=core.ItemAdmin&g2_subView=core.ItemAdd&g2_itemId=7
every single link has it "c:" its weird
Posts: 32509
hmm, then it must be the integration files. there are not too many. please check in each of them if there's a newline or spaces before or after the
<?php
?>
tags and remove them.
@java/xp:
the java/xp upload methods don't work if your mode is embed only. maybe we can fix that, but for now, you'll have to set it to false to make it work.
@windows
really weird.
btw: it's j. p. mullan ;)
Posts: 18
I checked all php files for whitespaces and removed the ones i found, before i did that I unpacked the files with winrar and not winzip.
the offending line is the header line, and the only other times I have seen this is if the header come after other lines of code.
Well I commented the header line and it works now, go figure.
J. P. Mullan noted, thanks :oops:
Posts: 32509
in what file is that?
Posts: 18
c1818f044ab9e9b759b0de52ead1e1c9.php its a xaraya cache file
Posts: 32509
at the moment, i can't test xaraya / g2, have to wait until they fixed the php 4.4.0 thing...
Posts: 18
Yea I just finished building a new gentoo box, emerged mod_php and I got the error 8 on xaraya, to bad the fix allows no debug output =(
Posts: 391
Having the same problem. And if I comment out the header line in the
right cache-file - it works.
I dont know how often these cache files are regenereated - but this
is not a good solution - I think...
Help?
-ftr-
Posts: 18
+5 Insightful has seemed to fix the header problem for me, I got the code from J.P. Mullans page before insightful was released, set it up with Xaraya on a fresh build of Gentoo Linux, apache2, Php 4.11, and Mysql.
http://Larkin.home.kg
Its built into xaraya which had its own issues with the new PHP release.
Posts: 32509
thanks for reporting. it's finished in tomorrows nightly snapshot of G2.