Advanced search  

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]

Pages: [1]   Go Down

Author Topic: modifyalb.php returns a blank page  (Read 11046 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, 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
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: modifyalb.php returns a blank page
« Reply #1 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?

Logged

wardsweb

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

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: modifyalb.php returns a blank page
« Reply #3 on: February 02, 2015, 04:10:25 am »

Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: modifyalb.php returns a blank page
« Reply #4 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.
Logged

wardsweb

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

wardsweb

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

wardsweb

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

wardsweb

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

wardsweb

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

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: modifyalb.php returns a blank page
« Reply #10 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.

Logged

wardsweb

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

wardsweb

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

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: modifyalb.php returns a blank page
« Reply #14 on: February 02, 2015, 06:19:14 am »

After upgrade did you do Config - Update database?
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: modifyalb.php returns a blank page
« Reply #15 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')";
Logged

wardsweb

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

wardsweb

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

wardsweb

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

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: modifyalb.php returns a blank page
« Reply #19 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.