forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Touge.ca on April 30, 2015, 03:02:17 am

Title: Unable to create new users to view the gallery
Post by: Touge.ca 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
Title: Re: Unable to create new users to view the gallery
Post by: allvip on April 30, 2015, 03:44:10 am
Try with the curve theme: http://www.touge.ca/photos/index.php?theme=curve (http://www.touge.ca/photos/index.php?theme=curve)
Title: Re: Unable to create new users to view the gallery
Post by: Touge.ca 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
Title: Re: Unable to create new users to view the gallery
Post by: Touge.ca 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/

Title: Re: Unable to create new users to view the gallery
Post by: allvip 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.
Title: Re: Unable to create new users to view the gallery
Post by: allvip 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?
Title: Re: Unable to create new users to view the gallery
Post by: Αndré 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.