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?

Maincore collision

Asked Modified Viewed 2,750 times
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
asked
Senior Member

COLLISION! Inserting a problem, white page.
After you enter the code in mincore:


$defender = defender::getInstance();
if (!defined('FUSION_ALLOW_REMOTE')) {
    new \Defender\Token();
}
\Defender\ImageValidation::ValidateMime();
// Define aidlink
0 replies

7 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Thank you, issued it : https://github.com/PHPFusion/PHPFusion/issues/1213
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

May I ask what is the error log?

You need these files - please upload and replace into your server
https://github.com/PHPFusion/PHPFusion/tree/9.02/includes/defender
https://github.com/PHPFusion/PHPFusion/blob/9.02/includes/defender.inc

It works fine on Windows Server (running PHP 5.6) and Linux Server (running PHP 6.8)
0 replies
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
answered
Senior Member

Error log writes only 1 error:
define ('DB_ARTICLES "DB_PREFIX." articles ");

I have:
Webserver software Apache/2.4.10 (Debian)
PHP version 5.5.37-1~dotdeb+7.1

https://pc-politika.cz/homepage
Edited by Kvido on 16-12-2016 17:27,
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

The only define is - https://github.com/PHPFusion/PHPFusion/blob/9.02/infusions/articles/infusion_db.php#L23

But how come you can get that kind of error?

PHP 7.0 then we can do, and anything below PHP 7.0 will crash.

const DB_ARTICLES = DB_PREFIX.'articles';

I'm not updating it to that. So I don't think there are any place where define starts.

Please restart your server and see if problem persist.
0 replies
K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
answered
Senior Member

define("IMAGES_A", INFUSIONS."articles/images/"wink;
define("DB_ARTICLE_CAT", DB_PREFIX."article_cat"wink;
define("DB_ARTICLES", DB_PREFIX."article"wink;

Constant DB_ARTICLES already defined
There should be, as alleged DB_PREFIX.'articles';
I'll try to change it.
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

There is a new version of articles infusion available in 9.02 by David.
https://github.com/PHPFusion/PHPFusion/blob/9.02/infusions/articles/

Please test it and make issues here or in github with it if you have any error findings, which we will fix.

Thanks.
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

Quote

define("IMAGES_A", INFUSIONS."articles/images/"wink;
define("DB_ARTICLE_CAT", DB_PREFIX."article_cat"wink;
define("DB_ARTICLES", DB_PREFIX."article"wink;

Constant DB_ARTICLES already defined
There should be, as alleged DB_PREFIX.'articles';
I'll try to change it.
- by Kvido


Uncomment this line: https://github.com/PHPFusion/PHPFusion/blob/9.02/maincore.php#L24

And it will show the trace where you need to fix. Please tell us too.
0 replies

Category Forum

Settings - 9

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 3 members

3 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
K
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
  • Started this discussions
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

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet