forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: wardsweb on February 02, 2015, 02:42:17 am

Title: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 02:42:17 am
I just upgraded my gallery. It was very easy and all went well. I created a new album and filled it with pictures, but when I went to modify the album properties, I get a blank page. http://lonestarbottleheads.org/gallery/modifyalb.php?album=56
Title: Re: modifyalb.php returns a blank page
Post by: allvip on February 02, 2015, 03:41:55 am
Does it happends wit all the albums?
Can you set a test user for me (username test pass tester) and allow me to create albums?

Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 04:05:09 am
I have create a new user TEST pass TEST. I also created a new category TEST and album TEST to work in. They are at the top of the page.
Title: Re: modifyalb.php returns a blank page
Post by: allvip on February 02, 2015, 04:10:25 am
Similar topics:

Modifyalb.php doesn't work http://forum.coppermine-gallery.net/index.php/topic,76790.0.html (http://forum.coppermine-gallery.net/index.php/topic,76790.0.html)

Blank modifyalb.php http://forum.coppermine-gallery.net/index.php/topic,76155.0.html (http://forum.coppermine-gallery.net/index.php/topic,76155.0.html)
Title: Re: modifyalb.php returns a blank page
Post by: allvip on February 02, 2015, 04:14:49 am
I have create a new user TEST pass TEST. I also created a new category TEST and album TEST to work in. They are at the top of the page.

Yes but you did not allowed my to create albums so I can have access to Album manager.
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 05:20:49 am
OK I made some changes and then logged in as test. I was able to create an album Coppermine Support, upload a picture and modify the album properties. When I log in as admin, I go to  the same album but cannot modify permissions.
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 05:30:14 am
After purging all the users and adding test back in. test cannot upload files. checking now what permissions need to change.
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 05:39:51 am
I deleted test again and added it back in as a registered user. That group is allowed to upload without approval but when I login as test, I get the no albums approved to upload in.
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 05:45:21 am
I added TEST2 / TEST in case there was an issue with test being corrupted in the database, but get the same result. Should I try running the update again?
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 05:49:10 am
I created a new group TEST and assigned it to user test and it now allows uploads.
Title: Re: modifyalb.php returns a blank page
Post by: allvip on February 02, 2015, 05:51:32 am
Because you have to go to Groups - Public albums upload - Allowed. Anyway that won't allow me to have access to Album properties. User are allowed to that only if they created the album. Only the admin has access to all albums properties.

Anyway I created a new album in my Gallery (you did not allow to create even in public albums) and everything works fine.

Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 05:56:58 am
I do have public album allowed.

http://lonestarbottleheads.org/coppermine.jpg (http://lonestarbottleheads.org/coppermine.jpg)
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 05:58:29 am
Also as I stated earlier. I can upload as test and change album permissions but when I go in as admin, I cannot.
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 06:06:42 am
The picture I linked shows all groups settings. When I setup user test under Registered, you couldn't upload anywhere. When I created a new group Test and setup user test under that , then you could upload but only to user galleries even though public is marked allowed. It is like some of the setting are stuck in a default mode.
Title: Re: modifyalb.php returns a blank page
Post by: allvip on February 02, 2015, 06:19:14 am
After upgrade did you do Config - Update database?
Title: Re: modifyalb.php returns a blank page
Post by: allvip on February 02, 2015, 06:37:16 am
For some reasons you don't have Visitors can upload files before Visitors can post comments.

Open delet.php and see if you have:

Code: [Select]
$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description, owner) VALUES ('$category', '$get_album_name', 'NO', '{$position}', '', '$user_id')";
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 01:43:58 pm
Config - Update database done but I re-ran and it shows everything already done.

Yes, the code is present in the delete.php

I even checked file versions and the only one showing as an issue is the one I modified to remove all the spam users.
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 02, 2015, 03:06:44 pm
I may have found the issue. I was using the Opera browser at home, where I was having issues. When I got to work, I access the site via Microsoft Explorer and I can modify the album properties. So, it may be a browser issue and not a Coppermine issue. I will verify when I get home by changing browsers and let you know.
Title: Re: modifyalb.php returns a blank page
Post by: wardsweb on February 03, 2015, 04:08:22 am
I used Explorer at home and the site works fine. It was a compatibility issue with Opera.
Title: Re: modifyalb.php returns a blank page
Post by: allvip on February 03, 2015, 09:34:38 am
Just test it with user test from group registered.
My gallery works on Opera.

BTW: for user test to create albums in public category go to Files - Gategory - select a category (click edit category) - Group(s) allowed to create albums in this category - click Registred or Test - click Update/Create Category.