Cannot modify header information - headers already sent by..

lucasnet

Joined: 2005-06-04
Posts: 72
Posted: Sat, 2005-06-04 20:46

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional):http://lucas.hostingschuppen.de/gallery
Gallery version:
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

I have a problem. During install i saw a error about integrity files. Now ,sometimes i see that:

Content-Length: 8968
Warning: Cannot modify header information - headers already sent by (output started at /home/.../.../gallery/modules/core/classes/helpers/GalleryUserGroupHelper_medium.class:3) in /home/.../.../gallery/main.php on line 460

please replay , are u know about this error and what i must do?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2005-06-04 21:26

lucasnet, you have already identified the problem: file integrity.
get back to the installer and go the systemcheck step. take a look at the missing/modified files list and upload (overwrite) these files again and then go to the systemcheck step again.
as long as you receive a file integrity warning, it's a mere wonder that G2 is working at all.

if you need further help, please tell us the exact version of G2 and fill out the support template (the first half of your post above is this template, which you left empty).

 
lucasnet

Joined: 2005-06-04
Posts: 72
Posted: Sun, 2005-06-05 07:28

Ok. So i will overwrite this 19 files:

Note: You're running Gallery from CVS, so some modified files are to be expected. You can probably safely ignore these.

* ...les/core/classes/helpers/GalleryUserGroupHelper_medium.class
* ...les/core/classes/helpers/GalleryUserGroupHelper_simple.class
* ...les/core/test/phpunit/ItemEditPhotoThumbnailPluginTest.class
* ...les/core/test/phpunit/UserChangePasswordControllerTest.class
* ...les/icons/iconpacks/paularmstrongdesigns/advanced_search.gif
* ...les/icons/iconpacks/paularmstrongdesigns/change_password.gif
* ...les/icons/iconpacks/paularmstrongdesigns/import_gallery1.gif
* ...les/migrate/test/data/albums/album04/head_left.highlight.jpg
* ...les/migrate/test/data/albums/album05/head_left.highlight.jpg
* ...les/migrate/test/data/albums/monkey!/head_left.highlight.jpg
* ...les/migrate/test/data/albums/monkey!/head_left_001.thumb.jpg
* ...les/migrate/test/data/albums/monkey!/head_left_002.thumb.jpg
* ...les/migrate/test/data/albums/monkey!/head_left_003.thumb.jpg
* ...les/multilang/test/phpunit/MultiLangItemEditPluginTest.class
* ...les/photoaccess/test/phpunit/PhotoAccessCartPluginTest.class
* ...les/rewrite/test/mod_rewrite_no_options/gallery2/Rewrite.txt
* ...les/watermark/test/phpunit/ConfirmDeleteControllerTest.class
* ...les/watermark/test/phpunit/ItemEditWatermarkPluginTest.class
* ...les/thumbpage/test/phpunit/ThumbPageItemEditPluginTest.class

, and will be working?

I am using gallery2.2005-06-01-08-34-42

I have last question.
How to do update? Just overwrite all files without g2data, and run install ?

 
lucasnet

Joined: 2005-06-04
Posts: 72
Posted: Sun, 2005-06-05 08:07

Integrity works great! Tnx

But what with update?

And what with other languages, cause i think that it doesnt work.
I can translate to polish language if needed.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-06-05 09:15

the upgrade is described in the README.html of your G2.
keep: g2data, config.php, the database, .htaccess (if you are using the rewrite module)
overwrite the rest, then browse to your G2, it should start the upgrader automatically. make sure you run the upgrader and not the installer.