I have applied the following code applied to script: if(!isset($_SESSION['SESS_MEMBER_ID'])) { $ses = $_SESSION['SESS_MEMBER_ID']; //tell freichat the userid of the current user
I have put my code so but it is giving me the error :( Could not authenticate user . Please verify your edited copy-paste code and make any required changes.
Even if i hard code it to
$ses = 1; //tell freichat the userid of the current user
setcookie("freichat_user", "LOGGED_IN", time()+3600, "/"); // *do not change -> freichat code } if(!function_exists("freichatx_get_hash")){ function freichatx_get_hash($ses){
In order to verify that $_SESSION['SESS_MEMBER_ID'] has the member id in it. I printed it in my website using echo $_SESSION['SESS_MEMBER_ID']; It gave the member id i.e. 1 as the output.
I have two types of users, the user type is saved in session in hardcode.php i have set the user table deatails as follows
/ Custom driver / if($_SESSION['user_type']=='shop' { $usertable='shop'; //specifies the name of the table in which your user information is stored. $row_username='name'; //specifies the name of the field in which the user's name/display name is stored. $row_userid='usr_id'; //specifies the name of the field in which the user's id is stored (usually id or userid) } else { $usertable='users'; //specifies the name of the table in which your user information is stored. $row_username='fullname'; //specifies the name of the field in which the user's name/display name is stored. $row_userid='id'; //specifies the name of the field in which the user's id is stored (usually id or userid) }
but custom.php always takes the else option always
i tried to customize the custom.php but there i cant get the session variable
So i was testing my smtp server, and I selected forgot password on my administrator account e-mail, it said smtp failed, but not just that now when I try to login with the right info i cant login, is that a bug?, i changed my password in the mysql database but that doesn't seem to do anything, where do i find the administrator password what file saves it?
I just downloaded the site files, and when i started to install it said to me
Uh oh, a problem occured!|
Please make following files/folders writable
sites/default/config.php
sites/default/assets/img/attachments/
sites/default/assets/img/cats/
sites/default/assets/img/cats/icons/
sites/default/assets/img/profiles/
sites/default/assets/img/profiles/icons/
sites/default/assets/img/smileys/
cache/
I don't understand any of this stuff but I think it has to do with htaccess, this is what i have in it:
<IfModule mod_rewrite.c>Options +FollowSymlinks
Options +Indexes
RewriteEngineon# if your app is in a subfolder#RewriteBase /my_app/ # test string is a valid filesRewriteCond%{SCRIPT_FILENAME} !-f
# test string is a valid directoryRewriteCond%{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php?u=/$1 [NC,L,QSA]# with QSA flag (query string append),# forces the rewrite engine to append a query string part of the# substitution string to the existing string, instead of replacing it.</IfModule>AddType text/css .less
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
<IfModule mod_deflate.c><FilesMatch ".(js|css|html|php|txt)$">SetOutputFilter DEFLATE
</FilesMatch></IfModule>
I recently installed Codoforum and it working and all,but when i try to create a new post, it just doesn't work.. no error message just stays on the loading page.
For example: Title: Hello MessageHellloooooo
It works, but if i use longer text, it doesn't work, just keeps loading. When i try to do it on my localserver, it works, no issues, but online, on the server just doesn't work?
Some help pls!?
Thank You!
Edit: I can't use like bold/italics ect, if i hit enter without them it doesn't work, if i like hit space so it automatically goes to the next line it works... HELP PLS?
I recently reinstalled Freichat for my website over at www.pophatesfags.org/forum. As you can see, the individual chats are working fine, but the chatroom is coming up just as an "X" in the bottom left corner. This never happened before so not sure what's changed. Any ideas?
After the import from phpbb3, the counter for the topics table is not correct. This means that I have to edit the value. At the moment no_posts is only updated with a +1 value when a new reply is made. This means that it is not calculated and I need to do this manually.
On my code below the error is You have an error in your SQL syntax; Can you please let me know what's wrong with my statement?
hey, could you add a option to display a verification password box? some of my users have made 2 accounts because the password was created incorrectly while using their phone devices
Hello, I have just installed the forum, everything is great, until i try to post. if i use no spaces i can post as much as i want...but if i want to use spaces in my posts they will get stuck in pending.
any idea what could be causing this? I kinda like spaces.
some users have registered and the problem is that they are coming up as unverified Users. And then are also set to blocked.. How would i go about unblocking them.. because atm they can read the topics but not reply to them.
also is it posible to perhaps disable the Email virification and use a ReCaptcha instread at registering and logging in?
another think i have noticed is the buttons for facebook, google + and twitter do not work, could i get assistance on this.
Please i have a little issue with the script http://codologic.com/ , i found out that i cant post anything on the forum, when i type a message and click post , it does not respond , i dont know if any one can help
Frichat module is not showing on site, i am using joomla 2.5. hence same project is working on our localhost but on live site it is showing 'could not find driver' in console while we have enabled pdo and pdo mysql. please suggest what is problem with my site
When a user wants to try to register, this error occurs:
Warning: is_readable(): open_basedir restriction in effect. File(/dev/urandom) is not within the allowed path(s): (/customers/b/9/0/domain/httpd.www:/customers/b/9/0/domain/httpd.private:/customers/b/9/0/domain/tmp:/customers/domain/domain:/var/www/diagnostics:/usr/share/php)in /customers/b/9/0/domain/httpd.www/sys/CODOF/Pass.php on line 55 Warning: Cannot modify header information - headers already sent by(output started at /customers/b/9/0/domain/httpd.www/sys/CODOF/Pass.php:55)in /customers/b/9/0/domain/httpd.www/sys/Controller/user.php on line 236
I can see in the database that the user is created, and a confirmation email is sent to the user, which is great! How can I get rid of the error message?