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?

News Error

Asked Modified Viewed 2,443 times
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
asked
Senior Member

Fatal error: Class 'PHPFusion\News\NewsServer' not found in /htdocs/nebula/themes/Septenary/templates/custom_news.php on line 24.

Not killing the site yet...as I can make if Super Admin Only. This is in RC3 I thought I had RC4...

Just got a chance to check, news worked fine in the bootstrap theme...
Edited by daimonbok1 on 27-08-2016 01:13,
0 replies

11 posts

D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
answered
Senior Member

Re-uploaded the file in question (custom_news.php) and now get "Fatal error: Class 'PHPFusion\News\NewsServer' not found in /htdocs/nebula/themes/Septenary/templates/custom_news.php on line 26.

Line 24  function render_main_news($info) {
Line 25
Line 26  $news_settings = \PHPFusion\News\NewsServer::get_news_settings();
Line 27  $locale = fusion_get_locale();
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

Reupload also News Infusion.
0 replies
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
answered
Senior Member

Reuploading news and theme...I'll advise how it works out Chan :)
0 replies
D
daimonbok1
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions
answered
Senior Member

:D

Thanks again Chan...I would never have though to reinstall both, I was thinking of the theme only....
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
  • Answered 1 question
answered
Senior Member

clik news
fusionm/infusions/news/news.php
Fatal error: Unsupported operand types in C:\xampp\htdocs\fusionm\includes\core_functions_include.php on line 1386
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

Can i see full error logs? My side all ok...
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
  • Answered 1 question
answered
Senior Member

not error log..
infusions/news/news.php?readmore=1 good...

if not News Image Gallery,
infusions/news/news.php not good
clik news
fusionm/infusions/news/news.php
Fatal error: Unsupported operand types in C:\xampp\htdocs\fusionm\includes\core_functions_include.php on line 1386

if there is News Image Gallery == OK
but the news picture appears on the site and nothing else.
Edited by karrak on 02-09-2016 11:21,
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

Please check the new build with multiple image upload , i think it's fixed since i cannot get the error message now.

News Align only applicable to News Item Full View Image .. I do not think the original idea of image position is for the front end one.
Edited by Chan on 02-09-2016 11:34,
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
  • Answered 1 question
answered
Senior Member

not good. The above error even beyond

C:\xampp\htdocs\fusionm\includes\classes\PHPFusion\Database\Driver\PDOMySQL.php
/fusionm/viewpage.php?page_id=1
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ni.news_front_default' in 'on clause'
Sor: 72

clik News
the error occurs at the bootstrap theme

fusionm/infusions/news/news.php
Fatal error: Unsupported operand types in C:\xampp\htdocs\fusionm\includes\core_functions_include.php on line 1386
Edited by karrak on 02-09-2016 14:20,
karrak attached the following file:
capture_001_02092016_140044.jpg [No information available / 108 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

https://github.com/PHPFusion/PHPFusion/commit/445217a84222aee9a153966afa68d03dfd4b70e2

Due to Djdandi want to have multiple image upload, you need to reinstall news. I changed structure modify DB_NEWS to make it possible.

I will code the table change tomorrow.
0 replies
D
djdandi
D
  • Senior Member, joined since
  • Contributed 298 posts on the community forums.
  • Started 99 threads in the forums
answered
Senior Member

Thank you Chan:G
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 11 posts
  • Votes 0 votes
  • Topic users 4 members

4 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
  • Answered 1 question
D
D
  • Senior Member, joined since
  • Contributed 298 posts on the community forums.
  • Started 99 threads in the forums
D
D
Into The Nebula! Is it Science or Science Fiction?
  • Senior Member, joined since
  • Contributed 626 posts on the community forums.
  • Started 141 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet