Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Unable to create new users to view the gallery  (Read 3694 times)

0 Members and 1 Guest are viewing this topic.

Touge.ca

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Unable to create new users to view the gallery
« on: April 30, 2015, 03:02:17 am »


Hi Admin/Tech staff,


I'm having issue on creating new users to view my gallery.  Unable to create, everytime I try putting new username, email, registered,..it does not work.

Here are some errors I found from the Manage users page below:

Notices
/include/functions.inc.php
Notice line 4308: Undefined variable: result
/usermgr.php
Notice line 198: Undefined variable: username
Notice line 342: Undefined variable: username
Notice line 343: Undefined variable: username
Notice line 350: Undefined variable: username
Notice line 351: Undefined variable: username
Notice line 355: Undefined variable: username
Notice line 356: Undefined variable: username
Notice line 360: Undefined variable: username
Notice line 361: Undefined variable: username
Notice line 368: Undefined variable: username
Notice line 369: Undefined variable: username
Notice line 373: Undefined variable: username
Notice line 374: Undefined variable: username
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Unable to create new users to view the gallery
« Reply #1 on: April 30, 2015, 03:44:10 am »

Logged

Touge.ca

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Unable to create new users to view the gallery
« Reply #2 on: April 30, 2015, 04:00:12 am »

After I changed it to curve theme, still not working either.

I m also having these errors below on the home page of the gallery.

Notices
/index.php
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 1017: Undefined index: last_pid
Notice line 402: Undefined index: subalb_count
Notice line 411: Undefined variable: FORBIDDEN_SET
Notice line 402: Undefined index: subalb_count
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 1017: Undefined index: last_pid
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
Notice line 402: Undefined index: subalb_count
/include/functions.inc.php
Notice line 4308: Undefined variable: result
Logged

Touge.ca

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Unable to create new users to view the gallery
« Reply #3 on: April 30, 2015, 04:01:39 am »

It went to an error page everytime I input the new user info and trying to create one

http://templates.doteasy.com/ErrorPages/error403/

Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Unable to create new users to view the gallery
« Reply #4 on: April 30, 2015, 04:13:00 am »

It went to an error page everytime I input the new user info and trying to create one

http://templates.doteasy.com/ErrorPages/error403/

Maybe you shoud ask your host provider for help with that.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Unable to create new users to view the gallery
« Reply #5 on: April 30, 2015, 04:15:29 am »

Create a new users named tester, make him an administrator not registred then try to create new users with tester account.

Can you try this now and let me know if it works?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Unable to create new users to view the gallery
« Reply #6 on: April 30, 2015, 11:55:27 am »

I just disabled the PHP notices in your gallery. Please read the docs to understand what they're meant for.

Regarding your issue: it also works for me in your gallery. After you submit the "Create new user" form you get redirected to http://www.touge.ca/photos/usermgr.php?op=update&user_id=new_user, as expected. But for some reason the content of that page is not as expected, as it's:

Code: [Select]
<html>
<meta http-equiv="refresh" content="2;url=http://templates.doteasy.com/ErrorPages/error403/">
<body>
</body>
</html>


I also suggest to ask your hosting provider what's wrong. A HTTP 403 error code doesn't make sense, as the file exists and is accessible.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.