forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Johnfromhere on June 23, 2010, 04:47:40 pm

Title: Blank page when I try to "create new user"
Post by: Johnfromhere on June 23, 2010, 04:47:40 pm
I have had version 1.4.26 running for a long time - very little used and no admin work on it.

I recently had occasion to 'create new user' but when I had filled the form in and hit 'submit', I just got a blank page in my browser and no new user is being added.

I searched around and found that there was a new version (1.5.6) published, so I decided to bite the bullet and install that version.

The install seemed to go smoothly but I am still getting the same phenomenon.

I searched the forum and although there are several references to being unable to create a new user, none of them appeared to address my particular problem.

Any ideas would be greatly appreciated.

Many thanks.

John.
Title: Re: Blank page when I try to "create new user"
Post by: onthepike on June 23, 2010, 05:05:55 pm
Hi John,

Please post the link to your Coppermine gallery as per board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616).
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 23, 2010, 05:24:53 pm
Apologies - I was thinking that as it was an admin type problem and most of the gallery is private anyway, a link would not be much help.

The gallery is at :- http://www.metzbigband.co.uk/gallery

Cheers.

John.
Title: Re: Blank page when I try to "create new user"
Post by: onthepike on June 23, 2010, 05:55:49 pm
I have had version 1.4.26 running for a long time - very little used and no admin work on it.
John.

Yet, Google's cache of displayimage.php produces a page (http://webcache.googleusercontent.com/search?q=cache:kEbtO30tBFEJ:www.metzbigband.co.uk/gallery/displayimage.php/+/search%3Fhl%3Den%26newwindow%3D1%26safe%3Doff%26client%3Dfirefox-a%26hs%3DJOn%26rls%3Dorg.mozilla:en-US:official%26q%3Dhttp://www.metzbigband.co.uk%2Bsite:www.metzbigband.co.uk%2B&cd=4&hl=en&ct=clnk&gl=us) that documents your running version 1.4.10 as recently as April 18, 2010. Which is of great concern to me, as running so many versions behind (for such an extended time) might have subjected your site to possible harm.

However it's extremely difficult for me to try and identify if this is the case (or any other case) because your gallery requires registration and login privileges. It's akin to taking your car to the mechanic and keeping the doors and hood locked.

Therefore, I shall defer to another supporter with more knowledge than I. Before I do, it might be helpful to enable debug mode for all (but don't post the output unless requested).
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 23, 2010, 06:24:14 pm
I got the version number from the Cpanel that my host provides as that was how I originally installed it.

Thanks for the tip on 'debug'.

Cheers.

John.

Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 23, 2010, 06:27:48 pm
Please ignore my previous posting about the version number!  That was a test version that I had installed and then not bothered with!

Apologies - you'll get old one day  :)

Cheers

John.
Title: Re: Blank page when I try to "create new user"
Post by: Joachim Müller on June 23, 2010, 06:40:09 pm
Make sure to tell the hackers who compromise your webspace that you just had that version installed for testing purposes ::). Cpanel installs go unsupported, and laziness/reluctance to keep your web apps up-to-date is something that we're not very fond of neither.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 23, 2010, 07:28:13 pm
Yep.  Sorry, I should have known better :-[.

App removed!

Cheers.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 23, 2010, 08:22:36 pm
I just noticed that this topic has been marked 'solved'.

When I said the 'App had been removed', I meant a second version which I had taken the version number from.
My original query still stands.

Cheers

John.
Title: Re: Blank page when I try to "create new user"
Post by: Joachim Müller on June 24, 2010, 06:39:30 am
I just noticed that this topic has been marked 'solved'.
That must have been you who tagged it as solved by clicking on the corresponding button in the initial posting. Nobody else can do that for you.

My original query still stands.
So you still get a blank page when creating a new user account, even though you have upgraded? That sounds very strange indeed. Please run versioncheck (http://www.metzbigband.co.uk/gallery/versioncheck.php) to see if you actually have replaced all files - refer to http://documentation.coppermine-gallery.net/en/upgrading.htm#versioncheck for details.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 24, 2010, 08:45:07 am
I have no recollection of marking it 'solved'!  Is there any way that I can delete that marking please?

I ran the versioncheck and numerous files are marked
Quote
File may be corrupt (or you have deliberately edited it).
.
Complete directories (eg css/ and docs/de/) are allegedly corrupt or have been edited).
Most confusing!

I have a complete backup of my original (1.4.10) - would it be best to restore that and start over again?

Cheers.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Joachim Müller on June 24, 2010, 09:01:50 am
I have a complete backup of my original (1.4.10) - would it be best to restore that and start over again?
No.

I ran the versioncheck and numerous files are marked .
Complete directories (eg css/ and docs/de/) are allegedly corrupt or have been edited).
Try to perform an update as suggested in the docs (http://documentation.coppermine-gallery.net/en/upgrading.htm) using this (http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.5.x/?view=tar) package
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 25, 2010, 10:38:18 am
Thanks, Joachim.

I did the update as you suggested and with the version you suggested.

On doing a versioncheck, most of the files are marked
Quote
             1.5.7 (newer than 1.5.6)         n/a    Your file is newer than anticipated.
which I assume is OK but the ones in the attachment are either mandatory files that are missing or it says poss corrupted/edited.

I have not attempted to perform any admin functions on the gallery as yet.  I thought I would wait for you advice before doing so.

Cheers.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Joachim Müller on June 25, 2010, 11:38:55 am
That's OK, the files that versioncheck complains about are not mission-critical.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 25, 2010, 12:27:22 pm
Thanks Joachim

I just tried to create a new user and still got a blank page and no new user created.

The command it used was
Quote
....../usermgr.php?op=update&user_id=new_user

I refreshed the browser but - still a blank page and no new user created.

Any ideas please?

Cheers.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Phill Luckhurst on June 25, 2010, 06:18:48 pm
Enable debug mode - http://documentation.coppermine-gallery.net/en/configuration.htm#admin_misc

Or check your server error logs and see if anything shows up.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 26, 2010, 12:16:27 am
I enabled debug mode, however, as I get a blank page after attempting to create a new user and as the only way I can get back is to hit the 'previous page' button in my browser (Firefox 3.6.4), which of course gives me the page as it was before I tried to create a new user, I assume that the debug details also relate to the action before my attempt.

By 'server error logs' do you mean the 'error_log' in the main coppermine directory?  If so, I can't see anything in there that might help.
If not, I have had a look around on the server at my hosting company and cannot find any error logs.

Any help gratefully received.

Cheers.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Joe Carver on June 26, 2010, 01:22:19 pm
Title: Re: Blank page when I try to "create new user"
Post by: Joachim Müller on June 26, 2010, 06:15:46 pm
  • Turn on notices in debug
No, don't do that.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 26, 2010, 06:20:36 pm
Hi Joe

Many thanks for your advice:-

   
Quote
* enable debug and leave it on - (Do Not Post Debug output here)
  - Done
   
Quote
* Turn on notices in debug
- Done
   
Quote
* Enable logging
- Done
   
Quote
* Provide a test account.....or if you cannot
    * Remove the access restrictions on your gallery....because


Supporters can not "see" anything beyond your login page, making it difficult to diagnose your problem.

I am not at liberty to remove the access restrictions on the gallery – the users have requested that it is run as currently set up.
Should anyone in authority ask for a test account, I would gladly set one up – if I could! The whole problem is that I cannot ‘Create new user’.  Also, as the command I am having problems with is an admin only command, I would obviously be very careful about whom I gave admin access to – even if I could.

Regards

John.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 26, 2010, 06:22:09 pm
Hi Joe

I will turn off 'Notices' again.

Thanks.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Joachim Müller on June 26, 2010, 06:27:51 pm
  • Turn on notices in debug
     - Done
Why? As I suggested you should leave them off.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 26, 2010, 06:41:44 pm
Sorry Joachim, I had not seen your posting when I turned them on! (we were posting at the same time)

As soon as I saw it, I turned them off again.

Regards.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Αndré on June 28, 2010, 02:28:26 pm
Please try if it works with that link: http://www.metzbigband.co.uk/gallery/usermgr.php?op=update&user_id=new_user&theme=curve
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 28, 2010, 04:09:25 pm
Just tried that Andre and it responded with :-

Quote
Error
A valid form token could not be found.

File: /home/a15metz/public_html/gallery/usermgr.php - Line: 1065

I clicked on 'Create new user' then filled in the details of username and password (for the new user) and instead of hitting 'Submit',  I pasted your command in the browser header line and hit 'Enter'.  I presume that is correct?

Cheers.

John
Title: Re: Blank page when I try to "create new user"
Post by: Αndré on June 28, 2010, 04:17:22 pm
I presume that is correct?
No. My mistake. Sorry.

Please force using the curve theme (http://www.metzbigband.co.uk/gallery/?theme=curve) and then try to create a new user. If it doesn't work, disable the plugin api and try again.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 28, 2010, 04:54:49 pm
I forced it as you indicated but no difference was apparent.

'Create new user' still returned a blank page.

Checked plugins.  There are none installed and 'Enable plugins' is not checked.

I enabled them and tried - same result.

I disabled them again and tried - same result.

In passing - I tried several of the themes but the appearance of the gallery stayed the same! - but that, I presume is a subject for another thread?

Regards.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Αndré on June 28, 2010, 07:01:42 pm
I tried several of the themes but the appearance of the gallery stayed the same! - but that, I presume is a subject for another thread?
No need for another thread. Coppermine stores your preferred theme in a cookie. If you change the default theme in the config, the theme from your cookie will be used instead. You can overwrite it with the theme parameter in the url.

I currently don't know why you get a blank page. Can you please install a second gallery for testing purposes?
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on June 29, 2010, 07:05:50 pm
I have set up another gallery and (I think!) set it the same as the previous one in terms of privs.  The new gallery has icons by the commands, which the 'old but updated' gallery doesn't have.

I have not as yet loaded any photos.

I have set up, deleted and set up again a user and it appears to work OK.

Do you want me to set up (presumably an admin) account for you and pm you the details?

Do you want me to upload the albums/pictures as in the old gallery?  If so, should appreciate guidance on the easiest/quickest way to do so.

Regards.

John.

Title: Re: Blank page when I try to "create new user"
Post by: Αndré on June 29, 2010, 07:29:03 pm
Please try to adjust the settings on your test gallery like on your real gallery. Try if the error occurs again.

If it works, try to create some users, upload some files, create some albums and categories and so on. That's what I would do, as a blank page is not very meaningful.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on July 01, 2010, 05:19:06 pm
OK, Andre

Gallery (without anything uploaded) seems to be working fine.
I will try to upload some photos over the weekend and let you know how it goes.

Many thanks.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on July 05, 2010, 07:09:00 pm
Just tried uploading photos via "Multiple files - Flash driven (recommended)", but I get "Upload Error: 406", however, if I upload a single file manually, using "simple - one file at a time" it uploads OK!

I have checked the manual and cannot see any reason why a .jpg. file should not upload (unless of course, I am doing something totally stupid - which wouldn't be a first!).

Any help - again, gratefully received.

Cheers.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Joachim Müller on July 05, 2010, 07:16:38 pm
I'm 99% convinced that your issue is based on improper webserver setup - please contact your webhost; refer to http://documentation.coppermine-gallery.net/en/errors.htm#errors_messages_webserver_406
Title: Re: Blank page when I try to "create new user"
Post by: Αndré on July 05, 2010, 08:40:25 pm
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270618.html#msg270618
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on July 05, 2010, 08:59:25 pm
Thanks, Joachim, I will take it up with my webhost.

Andre - I was letting you know how I had progressed with the uploading etc that you said I should do, as I said I would.  I apologise if I transgressed the rules, it was not deliberate.

If I get more problems, I will start a new thread.

Regards and thanks to both of you for your help.

John.
Title: Re: Blank page when I try to "create new user"
Post by: Αndré on July 05, 2010, 09:02:35 pm
I was letting you know how I had progressed with the uploading etc that you said I should do
No problem John. I just wanted to say that you have to open a new thread if you need support on that issue, as you won't get in here :)
Title: Re: Blank page when I try to "create new user"
Post by: Johnfromhere on July 07, 2010, 10:06:57 pm
No support needed, thanks Andre! ;D

Following Joachim's suggestion, I got contacted the host company and they disabled mod_security for the domain and all works fine now.

Thanks again guys for your help.

Cheers.

john.