The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/portal.php 39 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 1,007
» Latest member: kavitasinghji
» Forum threads: 1,324
» Forum posts: 7,788

Full Statistics

Online Users
There are currently 402 online users.
» 0 Member(s) | 399 Guest(s)
Bing, Facebook, Google

Latest Threads
UserSpice Alpha Testing a...
Forum: News Center
Last Post: ivinsons
11-08-2024, 06:13 PM
» Replies: 13
» Views: 42,475
UserSpice 4.4 Development
Forum: News Center
Last Post: Amelie12
09-21-2024, 12:23 PM
» Replies: 4
» Views: 15,199
Welcome to the new UserSp...
Forum: News Center
Last Post: ivinsons
08-25-2024, 07:39 AM
» Replies: 2
» Views: 27,918
How to use hasPerm
Forum: UserSpice 4.4
Last Post: mudmin
07-20-2019, 02:45 PM
» Replies: 1
» Views: 13,755
Session issue? What I sho...
Forum: UserSpice 4.4
Last Post: Parth
07-17-2019, 05:06 PM
» Replies: 4
» Views: 14,502
Email Error
Forum: UserSpice 4.4
Last Post: Brandin
07-17-2019, 04:47 PM
» Replies: 1
» Views: 6,623
{ Missing Text } after up...
Forum: UserSpice 4.4
Last Post: Brandin
07-16-2019, 04:23 PM
» Replies: 22
» Views: 53,638
Best Practice Info
Forum: New to UserSpice?
Last Post: Brandin
07-16-2019, 11:55 AM
» Replies: 1
» Views: 13,490
Force to use 2FA -always-
Forum: UserSpice 4.4
Last Post: Brandin
07-12-2019, 12:43 PM
» Replies: 1
» Views: 6,636
e-mail not verifying
Forum: UserSpice 4.4
Last Post: LBC
07-10-2019, 11:34 AM
» Replies: 31
» Views: 76,232

 
  Can I protect access to non-php files?
Posted by: WebAIFHS - 03-17-2018, 03:21 PM - Forum: Off-topic Discussions - Replies (3)

This is a real newbie question but can't find an answer maybe there isn't one. With UserSpice I can manage access to php pages but can I manage access to non-php pages? On the website we have data files/files (pdf, xls...) that are in the "private" password protected folders that are set up by the hosting system and are accessed by a single ID/password. This files are to be accessed by the members only not by "guests" from the "public" area. The requirement is that each member has a unique ID/password which is why I'm investigating UserSpice. If I remove the host's protection how do I implement access control to these files using UserSpice or is it not possible?

Thanks in advance
Nello Ostacchini
Webmaster Anglo-Italian Family History Society


  Please help urgent
Posted by: pahalprashant - 03-17-2018, 10:52 AM - Forum: Off-topic Discussions - Replies (1)

I want to get the details like email id and userid of a logged in user how can i do so in php. Can someone please give a example php file


  Logged in details ?????
Posted by: pahalprashant - 03-17-2018, 04:49 AM - Forum: Documentation - Replies (1)

Hi guys,

I have a php file in my root directory of userspice and i want to get the current logged in user details in a variable (from its database table users) for use in my file how can i do so can anyone pleas help and give me a step by step instructions for this. I only know very basic php.


  New Install issue using Docker
Posted by: jeffa1792 - 03-17-2018, 02:24 AM - Forum: UserSpice 4.3 and Below - Replies (6)

Hi, I successfully setup userspice about 1 weeks ago using AWS. Today I'm trying to setup on my local machine using Docker. Downloading the source, I notice a new version but that may not be the problem.

When I go through the installer I get to step 2 (Database Config) and enter my connection details. No matter what I do I keep getting this error "Database connection unsuccessful! Please try again."

I've tried localhost; 127.0.0.1; both with and without port 3306
I know my DB is working because MySQL Workbench will connect with no issues.

The permissions to users/init.php is 666 but I suspect it can't be written to because the file ends with:

require_once $abs_us_root.$us_url_root.'users/helpers/helpers.php';

// Set config
$GLOBALS['config'] = array(
'mysql' => array(


Rather incomplete looking.

Any help would be appreciated.
Jeff


  redirect page using array
Posted by: vengaband - 03-16-2018, 12:12 PM - Forum: Off-topic Discussions - Replies (3)

Hi,
Im using this syntax and I tried several times to put a link to go to another page.

$options = array(
'submit'=>'submit',
'href'=>'page2.php',
'class'=>'btn btn-primary',
'value'=>'Next Page',

);

I tried to edit submit and still not working. Please advise.
Thanks.


  Major problems with 4.3.16 update
Posted by: grumpy-gnome - 03-15-2018, 09:26 PM - Forum: UserSpice 4.3 and Below - Replies (5)

I have attempted to update from a 4.3.14 install to a 4.3.16 using the file on the Updates page.

I was surprised to see init.php had lost the database and timezone stuff, but easily fixed.

When I invoke users/update.php though, I get a huge string of warnings such as:

<pre>

Code:
( ! ) Warning: unlink(../install/cleanup.php): No such file or directory in C:\wamp64\www\stock\users\update.php on line 292
Call Stack
#    Time    Memory    Function    Location
1    0.0020    443896    {main}( )    ...\update.php:0
2    0.1536    1569096    unlink ( )    ...\update.php:292

( ! ) Warning: unlink(../install/license.php): No such file or directory in C:\wamp64\www\stock\users\update.php on line 293
Call Stack
#    Time    Memory    Function    Location
1    0.0020    443896    {main}( )    ...\update.php:0
2    0.1564    1569344    unlink ( )    ...\update.php:293

( ! ) Warning: opendir(../install,../install): The system cannot find the file specified. (code: 2) in C:\wamp64\www\stock\users\helpers\backup_util.php on line 157
Call Stack
#    Time    Memory    Function    Location
1    0.0020    443896    {main}( )    ...\update.php:0
2    0.1586    1569344    rrmdir( )    ...\update.php:294
3    0.1586    1569344    opendir ( )    ...\backup_util.php:157
</pre>


These continue until the maximum script processing time is exceeded... I suspect this is something in my install, but any ideas?


  users VS usrsc
Posted by: AnasAZ - 03-13-2018, 10:36 PM - Forum: UserSpice 4.3 and Below - Replies (3)

Hi, I read the following in the update page:

All pages in the /users folder are now usersc compatible. Simply copy a file to usersc and edit way. Don’t edit our core files!

I'm not sure I understood this correctly. I have modified join.php, Validate.php, _join.php and some other files, so this is not the right way! I suppose to copy these files to usersc then modify them there! but when we update these files with new a release, which copy of join.php will run?

Thanks for your time.


  Update to 4.3.16
Posted by: AnasAZ - 03-13-2018, 10:22 PM - Forum: UserSpice 4.3 and Below - Replies (13)

Hi, I used to have 4.3.14 and I downloaded the file to upgrade to 4.3.16 (4314to4316.zip). after I copied the file and edit init.php (to include DB information), in the dashboard it says that I have to update DB:

<pre>

Code:
Warning! Your database is out of date. Please click here to get the latest update. Failure to do so could cause system instability.

but every time I click on update, it takes forever, then it gives me a blank page!

When I tried to run update.php from the console, I ended up with this error:
</pre>
PHP Fatal error: require_once(): Failed opening required 'users/helpers/helpers.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/portal/users/init.php on line 23

Any ideas?


  Problem with Register page
Posted by: osvi64 - 03-13-2018, 07:27 PM - Forum: UserSpice 4.3 and Below - Replies (4)

Hi

I have a problem with the register page: when I click on register link on the menu I'm redirected to the login page as expected. THen when I click on the register button insted of going to the registration form, I'm redirected on the same login page. The Only thing that changes is the URL: http://localhost/us43/usersc/login.php?&...c/join.php?

For sure it depends on something that I did, as days ago I registered a new user, but I'm not able to understand where is the problem.

Maybe, looking at the new URL, you are able to understand what's happen.

Please can you provide any suggestion?

Thank you
Osvaldo


  UserSpice Bug Reports
Posted by: Brandin - 03-11-2018, 03:03 AM - Forum: News Center - No Replies

Hello everyone,

Please be sure to report your bugs to https://userspice.com/bugs/. This system tracks and maintains our bugs, notes and git connections! If you have any questions or concerns, please let us know.

Thank you,
Brandin.