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.
Sign In
Not a member yet? Click here to register.

Maincore collision

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

CodeDownload  

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

Thank you, issued it : https://github.com/php-fusion/PHP-Fusion/issues/1213
May I ask what is the error log?

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

It works fine on Windows Server (running PHP 5.6) and Linux Server (running PHP 6.8)
Error log writes only 1 error:
CodeDownload  
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
The only define is - https://github.com/php-fusion/PHP-Fusion/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.
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.
There is a new version of articles infusion available in 9.02 by David.
https://github.com/php-fusion/PHP-Fusion/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.

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/php-fusion/PHP-Fusion/blob/9.02/maincore.php#L24

And it will show the trace where you need to fix. Please tell us too.
Thread Information
Author
Posted In
Replies
8 posts
Views
1,599 times
Last Post
Last updated on 3 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Falk, Kvido, Chan