coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: Bara Cek on March 02, 2007, 01:40:41 AM

Title: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 02, 2007, 01:40:41 AM
I installed this plugin and now all coppermine pages are rendering blank, no errors, just blank.

I have turned on php debugging and tested it with a simple flawed php script and it output an error, so the plugin is not throwing an error.

Coppermine version 1.4.10
Photo_shop plugin version 1.3.3
php version 4.4.0-6.22
Apache version 2.0.54-10.8

I went through and installed all the available modules for php I could think of with no success.

If you could help me out that would be great
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Nibbler on March 02, 2007, 02:05:38 AM
Post a link.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 02, 2007, 03:35:36 AM
http://www.victoriaroberts.ca/~baracek/cpg1410/ (http://www.victoriaroberts.ca/~baracek/cpg1410/)

there's absolutely nothing coming out in the page source, so you're not going to see much.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Nibbler on March 02, 2007, 03:40:59 AM
It's not absolutely nothing, it's 2 newline characters. Go through the plugin's files and remove the newlines after the closing ?> at the end of each file.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 02, 2007, 03:48:05 AM
Two files had new lines after the closing ?>

photo_shop_cart.php
photo_shop_zip.php

If you go to the above link we still have a blank page
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 02, 2007, 03:51:59 AM
Thanks for the quick replies by the way, It's been a couple days of playing trying to get this to work.

If I rename the plugin directory photo_shop to photo_shop.bak the pages start to render again.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 02, 2007, 03:59:06 AM
The Coppermine page is hosted on a linux box by the way, is there any concerns with carriage return / newline conversions in php scripts?
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 02, 2007, 05:04:17 AM
I also found new lines at the end of the language files

english.php
dutch.php
german.php

Still rendering blank pages though.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: kiig on March 02, 2007, 07:31:05 PM
If you dare :-) PM me with the ftp address and login info, - and I'll take a look and see if I can find someting.

Kim Igel.

can't garantee you anything though, - and maybe someone else (more experienced than me) will come forward and offer a 'review' of the files ?



Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Stramm on March 02, 2007, 08:24:03 PM
you checked plugins/photo_shop/include/functions.inc.php too
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 02, 2007, 11:01:08 PM
I looked back and yes I did remove the blank lines from the end of functions.inc.php (thank goodness for auto backups from my text editor)

It is really weird that it's not throwing any errors, and there are lots of reports of people installing it with no problems.

First I tried to install it in 1.4.8 with no luck, so I upgraded to 1.4.10, still same behaviour.  I then created this testbed and applied the mod pack by stramm thinking there might be a depedency, still same behaviour.

I don't have any problems upgrading any of the software on the box if that would be helpfull, can someone with a linux installation using the photo_shop plugin list their installed app versions and I'll try and update to that setup and see what happens.

Apache isn't throwing any errors either, however from my location I don't have access to the apache log, so I'll double check and post the log file if I notice anything.

Thanks for the suggestions.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Nibbler on March 02, 2007, 11:34:01 PM
Are you using a bridge by any chance? I just installed the plugin on my machine and the shop's tables got created in the wrong database. See if that happened to you.

@Stramm: mysql_query -> cpg_db_query ;)
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 03, 2007, 12:06:32 AM
Sorry, I'm not using a bridge, just plain Coppermine 1.4.10, nothing complicated.

I did the install of Coppermine, browsed to plugins, uploaded the 1.3.3 photo_shop plugin, installed it, and when it tried to reload the plugin manager page right after installing photo_shop it came back blank.


Paul
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Nibbler on March 03, 2007, 12:10:22 AM
I don't know if you responded to kiig's offer but I can look into the problem if you happy to permit me access.

For reference my dev machine:
Coppermine version 1.4.10
Photo_shop plugin version 1.3.3
php version 5.1.6
Apache version 2.2.3
FC6 Linux

Works fine.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 03, 2007, 05:59:24 AM
I created a test bed for you guys, sent nibbler the login and pass, if he can't figure out the problem, I'll send it on to you Kiig.
Don't want you both changing stuff at the same time.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 03, 2007, 03:32:13 PM
I did an update this morning and a few PHP updates came down, the plugin is now working, I'll try and figure out exactly what update made it work.  Thanks for all your help.

Bara Cek
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Bara Cek on March 03, 2007, 03:49:59 PM
I'm now running

apache2-mod_php4 4.4.0-6.22
php4 4.4.0-6.22
php4-exif 4.4.0-6.22
php4-fastcgi 4.4.0-6.22
php4-gd 4.4.0-6.22
[
php4-wddx 4.4.0-6.22
[
php4-session 4.4.0-6.22

One of these updates fixed the problem.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Nibbler on March 03, 2007, 03:57:04 PM
OK, thanks for resolving the thread.
Title: Re: photo_shop 1.3.3 after install all coppermine pages display as blank pages
Post by: Stramm on March 03, 2007, 08:31:36 PM
php4-session, however that's quite standard.