modifyalb.php returns a blank page modifyalb.php returns a blank page
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

modifyalb.php returns a blank page

Started by wardsweb, February 02, 2015, 02:42:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wardsweb

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

allvip

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?


wardsweb

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.


allvip

Quote from: 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.

Yes but you did not allowed my to create albums so I can have access to Album manager.

wardsweb

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.

wardsweb

After purging all the users and adding test back in. test cannot upload files. checking now what permissions need to change.

wardsweb

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.

wardsweb

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?

wardsweb

I created a new group TEST and assigned it to user test and it now allows uploads.

allvip

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.



wardsweb

Also as I stated earlier. I can upload as test and change album permissions but when I go in as admin, I cannot.

wardsweb

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.

allvip

After upgrade did you do Config - Update database?

allvip

For some reasons you don't have Visitors can upload files before Visitors can post comments.

Open delet.php and see if you have:


$query = "INSERT INTO {$CONFIG['TABLE_ALBUMS']} (category, title, uploads, pos, description, owner) VALUES ('$category', '$get_album_name', 'NO', '{$position}', '', '$user_id')";


wardsweb

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.

wardsweb

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.

wardsweb

I used Explorer at home and the site works fine. It was a compatibility issue with Opera.

allvip

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.