Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Forum error

Asked Modified Viewed 2,599 times
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 310 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
  • Answered 1 question
asked
Senior Member

C:\xampp\htdocs\fusion\includes\classes\PHPFusion\Database\Driver\PDOMySQL.php
/fusion/infusions/forum/viewthread.php?thread_id=1&pid=1
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'pn.notify_sender' in 'on clause'

And

forum administration add new Mood
C:\xampp\htdocs\fusion\includes\classes\PHPFusion\QuantumFields.php
/fusion/infusions/forum/admin/forums.php?aid=e40776ac1a5b150b&section=fmd&ref=mood_form
Undefined index: add_language
Sor: 1304

locale file OK.
0 replies

6 posts

C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin


$response_query = "SELECT pn.*, u.user_id, u.user_name, u.user_avatar, u.user_status
        FROM ".DB_POST_NOTIFY." pn
        LEFT JOIN ".DB_USERS." u ON pn.notify_sender = u.user_id
        WHERE post_id='".$this->post_id."' GROUP BY pn.notify_mood_id ORDER BY pn.notify_mood_id ASC, pn.post_id ASC";


Code is correct.

Infusion.php

These are new adjustments to the copies of Sourceforge:



$inf_newtable[] = DB_FORUM_MOODS." (
   mood_id MEDIUMINT(8) UNSIGNED NOT NULL AUTO_INCREMENT,
   mood_name TEXT NOT NULL,
   mood_description TEXT NOT NULL,
   mood_icon VARCHAR(50) NOT NULL DEFAULT '',
   mood_notify SMALLINT(4) NOT NULL DEFAULT '-101',
   mood_access SMALLINT(4) NOT NULL DEFAULT '-101',
   mood_status SMALLINT(1) NOT NULL DEFAULT '0',
   PRIMARY KEY (mood_id)
   ) ENGINE=MyISAM DEFAULT CHARSET=UTF8 COLLATE=utf8_unicode_ci";

$inf_newtable[] = DB_POST_NOTIFY." (
   post_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
   notify_mood_id MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
   notify_datestamp INT(10) UNSIGNED NOT NULL DEFAULT '0',
   notify_user MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
   notify_sender MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
   notify_status tinyint(1) UNSIGNED NOT NULL DEFAULT '1',
   KEY notify_datestamp (notify_datestamp)
   ) ENGINE=MyISAM DEFAULT CHARSET=UTF8 COLLATE=utf8_unicode_ci";


They install OK, can you please check.
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 310 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Senior Member

the beginning is good, but it's not for me.

forum administration add new Mood
C:\xampp\htdocs\fusion\includes\classes\PHPFusion\QuantumFields.php
/fusion/infusions/forum/admin/forums.php?aid=e40776ac1a5b150b&section=fmd&ref=mood_form
Undefined index: add_language
Sor: 1304
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

Locale is not a bad thing at all. :)

The $locale['add_language'] is in global.php
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 310 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Senior Member

it's included.
1261 row
public function quantum_multilocale_fields($input_name, $title, $input_value, array $options = array()) {
print_p($this->locale['add_language']);
karrak attached the following file:
capture_001_23072016_200152.jpg [No information available / 107 Downloads]
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

OK, I see what you mean. I'll fix it now.

https://github.com/PHPFusion/PHPFusion/commit/9c3f8760f1d09bae040b359c4e0d48b5ef0bede0
0 replies
K
karrak
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 310 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
  • Answered 1 question
answered
Senior Member

:)
in good repair
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,841 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
K
K
karrak 32
Van mi sosem változik..smile
  • Senior Member, joined since
  • Contributed 310 posts on the community forums.
  • Started 94 threads in the forums
  • Started this discussions
  • Answered 1 question

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet