Codoforum related discussions

Post all your questions and problems related to codoforum here .

442
9
simplo posted Jun 14 '16 at 2:31 pm

Excuse me ask such stupid Questions
I have just installed coduforum which seems a powerful platform for sharing
I must admit that, it is difficult to customize it
I have some difficulties, can someone help me
I want to edit client.php and sso.php, the codologic's documentations about it do not allow me to answer this question.
Thanks
cheers

recent by simplo  ·  Nov 1 '16 at 10:56 am
145
3
Kyouichi91 posted Oct 24 '16 at 11:47 am

Hello can someone tell me in witch file happens template generation like main page with categories and topics

There is file sys->CODOF->Forum->Category.php

Witch has a function called get_categories() I modified the query and now can't find where this variables are transfered.

114
0

I got Codoforum 3.4 build 19 installed, but I have two issues.

At the bottom of the main page, I have the following error message:

Warning: session_write_close(): Session callback expects true/false return value in Unknown on line 0

This error appears at the bottom of every page.

Also, I can't log in with the admin account.

486
9

I wanted to install Codoforum on my own dedicated server to which I have root access for some friends and myself to have a personal spot to chat.

Here are the commands I typed into the console:

cd /var/www/ [using Apache-like structure for nginx, not using /usr/share/nginx/html]
wget https://bitbucket.org/evnix/codoforum_downloads/downloads/codoforum.v.3.4.build-19.zip
unzip codoforum.v.3.4.build-19.zip
chown -R www-data:www-data /var/www/

I then set up a database in MariaDB using the following commands:

mysql -u root -p
create database codoforum character set utf8 collate utf8_bin;
grant all privileges on codoforum.* to codoforumsuser@localhost identified by '[insert-password-here]';
flush privileges;
exit

Then I opened a tab in Google Chrome and typed my server's URL:

http://www.<domainname>.com/codoforum/install

I also tried this:

http://www.<domainname>.com/codoforum/admin

The same thing happened both times. Chrome immediately downloaded a file called "download" with no extension. I opened up the file in Notepad++ and its just the index.php files in the "admin" and "install" directory.

Why isn't the installer actually working?

123
2
phig330 posted Oct 12 '16 at 8:43 am

hello!

Is there a way to participate to debugging more actively ?
I'm under development of my forum, and i spend a lot of time in your code.
We could help a little bit with bug report , when we see abnormal things ?

(eg: topics.tpl and category.tpl , span for switch without class for changing theme and color)

thanks !

recent by phig330  ·  Oct 17 '16 at 7:20 pm
209
4
phig330 posted Oct 12 '16 at 12:56 pm

hello again !
I have a problem with moderation in 3.6. I've activated moderation, and when i report a message, the message is still displayed, and there is nothing in moderation. I've an error message :

Uncaught  --> Smarty: Unable to load template file '.tpl' <-- \n  thrown in /var/www/codoforum/sys/Ext/Smarty/sysplugins/smarty_internal_template.php on line 148, referer: http://officielffss.asso.st/index.php?u=/moderation

Can someone explain how moderation works ? have I missed something ?

Thanks by advance...

226
1
kalisa posted Oct 10 '16 at 8:44 pm

exception 'PDOException' with message 'SQLSTATE[42000] [1044] Access denied for user 'skylineauca'@'localhost' to database 'forumuniver'' in /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php:47 Stack trace: #0 /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php(47): PDO->__construct('mysql:host=loca...', 'skyline_auca', ']g,3Ja_{]Pt', Array) #1 /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/MySqlConnector.php(20): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array) #2 /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/ConnectionFactory.php(59): Illuminate\Database\Connectors\MySqlConnector->connect(Array) #3 /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/Connectors/ConnectionFactory.php(47): Illuminate\Database\Connectors\ConnectionFactory->createSingleConnection(Array) #4 /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/DatabaseManager.php(127): Illuminate\Database\Connectors\ConnectionFactory->make(Array, 'test'smile #5 /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/DatabaseManager.php(63): Illuminate\Database\DatabaseManager->makeConnection('test'smile #6 /home/skyline/public_html/auca/forum/sys/vendor/illuminate/database/Illuminate/Database/Capsule/Manager.php(136): Illuminate\Database\DatabaseManager->connection('test'smile #7 /home/skyline/public_html/auca/forum/install/step3.php(102): Illuminate\Database\Capsule\Manager->getConnection('test'smile #8 /home/skyline/public_html/auca/forum/install/step3.php(246): Step3->connect_db() #9 /home/skyline/public_html/auca/forum/install/index.php(36): require('/home/skyline/p...'smile #10 {main}

recent by phig330  ·  Oct 12 '16 at 6:01 pm
105
3
phig330 posted Oct 10 '16 at 4:39 pm

hello.
i have a particular error in my php logs:

Undefined index: HTTP_HOST in /var/www/codoforum/sys/CODOF/Cookie.php on line 67
 Undefined index: HTTP_HOST in /var/www/codoforum/sys/load.php on line 23

after investigations, my server never send HTTP_HOST variable, as it's a protection against host poisoning ( https://ellislab.com/blog/entry/http-host-and-server-name-security-issues)

is there a way to setup the real host name in a config file ?

thanks

122
3
phig330 posted Oct 6 '16 at 9:09 am

There is a little bug in auth with fb and others. If you log in with hybridauth, the user status is approved by default, not following the global settings->Account registrations require admin approval ? check box.

modifying /sites/default/plugins/uni_login/uni_login.php

line 145

$reg->user_status = 1; //approved user

to

$reg->user_status = 0; //not approved user

and ./sites/default/plugins/sso/sso.php
line 52 replace

$reg->user_status = 1;

with

$reg->user_status = 0;

solved the problem.

can someome ( maybe @adesh1414127033 ) give me the global variable name of the checkbox in parameters to modify the code and follow the default policy ?

recent by phig330  ·  Oct 10 '16 at 10:07 am
51
0

I have done some searching and can't seem to find a step by step on integrating freichat and codoforum, I have a serious interest in having these two work together but I am no coder, any help is appreciated

104
0

Hi!

I have been using codoforum (version 4.3) for some months without any problem but, suddenly is not posible to post "big text post" or reply them.
Some time also apears "SPAM" alert... but there's no option to control this "spam" inside the admin panel.

If I write a simple post (a word in the title or message there's no problema, but If the message is a lo long test (about 10 ou 12 lines) the message seems to be published but when you access into the correspondent category the message isn't there or in another place...

If I change the status value in this topics into the database are showing but there's no way to answer on post because are detected as SPAM

Any idea how to solve it??

recent by Aus  ·  Oct 6 '16 at 9:56 am
908
4.41k
22
Sub Categories
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft