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.

Suspected Bugs and Errors - 8

If you suspect you have found a bug or a code error post here.
4,028 posts | Last Activity on 29-09-2020 02:03 by Falk
Falk
Falk 29-09-2020 02:03, 3 days ago
Re: Shop Error The issue have been fixed.
Falk
Falk 28-09-2020 02:31, 4 days ago
Re: Shop Error Thank you for pointing this out. Main is undergoing updates and this will be fixed asap!
B
Brainiac112 27-09-2020 17:43, 4 days ago
Re: Shop Error Hello folks,
I wanted to download a theme, but after clicking a theme i will get the following error: 

Fatal error: Uncaught Error: Call to undefined method PHPFusion\Locale::get_iso() in /home/phpfusion/public_html/infusions/marketplace/classes/page/storetranslations.php:29 Stack trace: #0 /home/phpfusion/public_html/infusions/marketplace/classes/page/table/store-item.php(20): PHPFusion\Infusions\Marketplace\Classes\Page\StoreTranslations->__construct() #1 /home/phpfusion/public_html/infusions/marketplace/classes/page/storeitem.php(526): ItemTranslations->__construct(Array) #2 /home/phpfusion/public_html/infusions/marketplace/classes/page/storeitem.php(329): PHPFusion\Infusions\Marketplace\Classes\Page\StoreItem->displayTranslations() #3 /home/phpfusion/public_html/infusions/marketplace/classes/marketplace.php(188): PHPFusion\Infusions\Marketplace\Classes\Page\StoreItem->viewPage() #4 /home/phpfusion/public_html/infusions/marketplace/index.php(11): PHPFusion\Infusions\Marketplace\Classes\Marketplace->viewPage() #5 {main} thrown in /home/phpfusion/public_html/infusions/marketplace/classes/page/storetranslations.php on line 29

I hope you can fix this asap wink

Greetz,
Brain
douwe_yntema
douwe_yntema 16-08-2020 20:18, 1 month ago
Re: Non safe code Thank you
RobiNN
RobiNN 14-08-2020 23:34, 2 months ago
Re: Non safe code https://github.com/php-fusion/PHP-Fusion/commit/a89e89207348ce6a7e41964075f41a3a546c4584
douwe_yntema
douwe_yntema 13-08-2020 10:11, 2 months ago
Re: Non safe code I think there is a bug in /includes/theme_functions_include .php
around line 221:

Code
 
 if ($display == "" && $settings['sitebanner2']) {
 eval("?>
".stripslashes($settings['sitebanner2'])."
\n




Should not be the eval function only be executed if:

Code
if (fusion_get_settings('allow_php_exe')

Falk
Falk 24-06-2020 22:27, 3 months ago
Re: Problems with userfields by registration (TEXT NOT NULL) Yes, perhaps crude. But will solve the issue instantly. You can also select to no include these user_fields to the registration so they only display when users edit their profiles.
It sounds odd, so without checking I know that VARCHAR can not exceed 255 if we want a optimal indexing of the table. Anything above should be TEXT.
E
Ernst74 24-06-2020 19:21, 3 months ago
Re: Problems with userfields by registration (TEXT NOT NULL) OK, that is the quick and dirty solution for the user fields. I have seen the user signature is by setup VARCHAR(500) but after deactivate and new activate of the field it is TEXT NOT NULL

Database fields with TEXT NOT NULL are general a problem at me with PHP-Fusion. I think i must change the STRICT mode from the MySQL server or PHP-Fusion will not work correct. On my own server is that no problem, but on a rented webspace nobody can change that.
Falk
Falk 24-06-2020 13:27, 3 months ago
Re: Problems with userfields by registration (TEXT NOT NULL) Make the ones you include to register mandatory.
E
Ernst74 23-06-2020 08:08, 3 months ago
Re: Problems with userfields by registration (TEXT NOT NULL) I have a lot of problems with userfields after the registration that have TEXT NOT NULL. This userfields are activated only for profile and not for the registration.

If a new person had make a registration for the site there is an error: Field 'XXXX' doesn't have a default value The error is when the registration copy the informations from the table new_users to the table users.
djdandi
Re: Settings do not exist, please check your config.php file or run setup.php again. The problem was again corrected by the server.
Falk
Re: Settings do not exist, please check your config.php file or run setup.php again. Do you have a copy of a old db_settings when the system worked?
If not, You can make a new install in a subdomain to your main domain.
Export db_settings and change to your domain & paths in the exported file, remember to also change the prefix to the old one.
Drop old db_settings and import the new db_settings that you have prepared.

Rob tells me that the issue can occur if your host upgrade the database handler, it may corrupt settings, so this is one way to solve it.
I also strongly recommend that you upgrade to latest 9 as well.
djdandi
Re: Settings do not exist, please check your config.php file or run setup.php again. The config.php file is compatible with the user. Where in the database can I find this prefix from the config.php file
I'm using version 9.03.00
Falk
Re: Settings do not exist, please check your config.php file or run setup.php again. Then it is one of the other, db user, db password or prefixes. Make sure your config.php match the user and pass and prefix set in your database config.
djdandi
Re: Settings do not exist, please check your config.php file or run setup.php again. I have repaired the tables but still nothing.
Falk
Re: Settings do not exist, please check your config.php file or run setup.php again. This is usually a hosting issue or as mentioned before, you might need to repair the table.

Quote

Check your phpMyAdmin if the tables are present, double check the config so nothing have changed on your hosting side from an update, database paths, prefixes
djdandi
Re: Settings do not exist, please check your config.php file or run setup.php again. Unfortunately, I have this problem again. I haven't changed anything in the files and the problem has been since yesterday. I previously had a problem with the username I changed and it worked but now I have no idea why it doesn't work.
Chan
Re: Settings do not exist, please check your config.php file or run setup.php again. Don't scare me. We're already post Stable.
djdandi
Re: Settings do not exist, please check your config.php file or run setup.php again. I've already solved the server-side problem - thanks
Falk
Re: Settings do not exist, please check your config.php file or run setup.php again.

Quote

Check your phpMyAdmin if the tables are present, double check the config so nothing have changed on your hosting side from an update, database paths, prefixes

Also, try to run a repair on settings table in phpmyadmin if all of the above is correct.
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.