WBCE Home | WBCE Hilfe | WBCE Addon Repository | Impressum | Datenschutz

WBCE CMS Forum

WBCE CMS – Way Better Content Editing.

You are not logged in.

Announcement

Domainumzug erfolgreich - Forum wieder zur Benutzung freigegeben! | Domain transfer successful - feel free to post again!

#1 27.03.2018 04:00:07

losttrip
Member

Fatal Error

wbce 1.3.1
RFG 0.75

Everything works locally, but after I upload to the live server, I get this Fatal Error on both front and back end.

Fatal error: Call to a member function fetchRow() on null in /home/myserver/public_html/myroot/modules/responsiveFG/scripts/functions.php on line 32

Rest of site is working fine.

Any guidance would be greatly appreciated.

Online

#2 27.03.2018 07:19:18

florian
Projektmanagement und Support WBCE CMS

Re: Fatal Error

Sounds like the settings tables are missing. Please make sure that there is a mod_responsiveFG_settings table, including the fields s_name and s_value in the database.

The issue might be caused by the capital letters in the RFG folder name, the module uses it for its table names too, e.g. if you install the RFG in /modules/myfancygallery/, the module expects to find tables like "mod_myfancygallery_settings etc.

Offline

#3 27.03.2018 21:16:30

losttrip
Member

Re: Fatal Error

The issue was the lack of upper case "FG" in the database table names.  Gallery is showing now.  Thank you!

there are a couple notices which display below the gallery thumbnails on the frontend (both locally and on the live server):

Notice: Undefined index: CB_START_SLIDESHOW in /home/myserver/public_html/mysite/modules/responsiveFG/view.php on line 844

Notice: Undefined index: CB_STOP_SLIDESHOW in /home/myserver/public_html/mysite/modules/responsiveFG/view.php on line 845

Any idea what is causing this?

Online

#4 27.03.2018 21:25:32

florian
Projektmanagement und Support WBCE CMS

Re: Fatal Error

D'uh, my mistake, seems I've missed to complete the EN.php.
Please add

$MOD_FOLDERGALLERY['CB_START_SLIDESHOW']   = "Start slideshow";
$MOD_FOLDERGALLERY['CB_STOP_SLIDESHOW']   = "Stop slideshow";

for a quick fix to /modules/ResponsiveFG/languages/EN.php.

Any other notices? (I'm sorry, I'm just working on sth. else at the moment and can't test it by myself now)

Offline

#5 27.03.2018 22:29:44

losttrip
Member

Re: Fatal Error

That fixed those notices.  Thanks again!

When I first choose a root directory, I get this notice multiple times (for each image) above the thumbnails.

Notice: A non well formed numeric value encountered in \root\mywebsite\modules\responsiveFG\class\class.upload.php on line 2720

When I refresh the page (and all subsequent page views), the notices are no longer displayed.

Online

#6 27.03.2018 22:34:34

florian
Projektmanagement und Support WBCE CMS

Re: Fatal Error

This can be possibly fixed easily or with an update of the class.upload, see
https://github.com/verot/class.upload.php/issues/59

I will keep that in mind for a future update

Offline

Board footer

Powered by FluxBB

up