Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: modifyalb.php returns a blank page  (Read 4433 times)

0 Members and 1 Guest are viewing this topic.

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
modifyalb.php returns a blank page
« on: February 02, 2015, 03: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
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: modifyalb.php returns a blank page
« Reply #1 on: February 02, 2015, 04: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?

Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #2 on: February 02, 2015, 05: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.
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: modifyalb.php returns a blank page
« Reply #3 on: February 02, 2015, 05:10:25 AM »

Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: modifyalb.php returns a blank page
« Reply #4 on: February 02, 2015, 05: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.
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #5 on: February 02, 2015, 06: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.
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #6 on: February 02, 2015, 06:30:14 AM »

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

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #7 on: February 02, 2015, 06: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.
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #8 on: February 02, 2015, 06: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?
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #9 on: February 02, 2015, 06:49:10 AM »

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

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: modifyalb.php returns a blank page
« Reply #10 on: February 02, 2015, 06: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.

Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #11 on: February 02, 2015, 06:56:58 AM »

I do have public album allowed.

http://lonestarbottleheads.org/coppermine.jpg
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #12 on: February 02, 2015, 06: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.
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #13 on: February 02, 2015, 07: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.
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: modifyalb.php returns a blank page
« Reply #14 on: February 02, 2015, 07:19:14 AM »

After upgrade did you do Config - Update database?
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: modifyalb.php returns a blank page
« Reply #15 on: February 02, 2015, 07: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')";
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #16 on: February 02, 2015, 02: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.
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #17 on: February 02, 2015, 04: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.
Logged

wardsweb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: modifyalb.php returns a blank page
« Reply #18 on: February 03, 2015, 05:08:22 AM »

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

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1290
Re: modifyalb.php returns a blank page
« Reply #19 on: February 03, 2015, 10: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.
Logged
Pages: [1]   Go Up
 

Page created in 0.572 seconds with 20 queries.