Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-09-30 04:15:40

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

New error on previously working site

Unexpected error: PHP Startup: uploadprogress: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20151012 These options need to match in Unknown on line 0

Not sure what to make of this, it worked yesterday.  I haven't made changes to the environment (not sure about Bluehost).
Any insight would be appreciated.

:=)

Offline

#2 2017-09-30 04:19:45

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

when looking in /backlight
I get Unexpected error: PHP Startup: uploadprogress: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20151012 These options need to match in Unknown on line 0
as well

Offline

#3 2017-09-30 04:35:28

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: New error on previously working site

Looks like maybe Bluehost upgraded your PHP version but didn't provide the current uploadprogress module to match. Just a guess but you might want to contact them about the error.

Offline

#4 2017-09-30 07:22:06

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: New error on previously working site

See our article for solutions to this: http://backlight.theturninggate.net/doc … ule_errors

We have a further option should the above not fix it, but it's best to try that first.

Offline

#5 2017-10-01 11:41:14

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

Well, lets just say that the Bluehost solution did not work
I went from having the mismatched API issue to BH ugrading php from 5.4 to 5.6 and then got this error.

Unable to find the SQLite module. Backlight requires the PDO, SQLite and XML modules. Make sure that these modules are installed and enabled.

Yet domain/backlight works and I listed out the php modules and all of them are there.

Offline

#6 2017-10-01 20:49:32

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: New error on previously working site

What is the 'mismatched API issue'?  What errors if any are you seeing now?

Offline

#7 2017-10-01 21:04:50

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: New error on previously working site

I see that you still have the SQLite error.  Try changing your PHP version to something else.  7.0 single php.ini works for me.

Offline

#8 2017-10-02 01:33:43

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

The mismatched API is the original error,
I get Unexpected error: PHP Startup: uploadprogress: Unable to initialize module Module compiled with module API=20131226 PHP compiled with module API=20151012 These options need to match in Unknown on line 0
as well

I like the email domain, spoken like a true support person.  Problem is, I have no idea what changed.

The php 7.0,  are you saying install that in my personal space, or are you saying I should have Bluehost upgrade theirs?

Also, given that the modules are actually there and that BL isn't finding them, is there a way to cause BL to try and re find them?

Thanks,
:-)

Offline

#9 2017-10-02 01:35:43

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

Oh, and does this mean that I need to use the phpLite interface, if so, I'll need the password.
Thanks,
:-)

Offline

#10 2017-10-02 02:01:57

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: New error on previously working site

You need to log into your hosting account. Look for something like PHP Config. There you should be able to make the change to php 7.
Or give them a call and have them make the change


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#11 2017-10-02 02:47:19

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

Moving to PHP 7 seems to have solved the issue.
Thanks,
:-)

Offline

#12 2017-10-02 03:25:06

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

Well, a little premature....
Fatal error: Uncaught Error: Function name must be a string in /home1/sierraf8/public_html/patricklynchphotography/lib/php/Parsedown.php:894 Stack trace: #0 /home1/sierraf8/public_html/patricklynchphotography/lib/php/Parsedown.php(931): Parsedown->element(Array) #1 /home1/sierraf8/public_html/patricklynchphotography/lib/php/Parsedown.php(257): Parsedown->elements(Array) #2 /home1/sierraf8/public_html/patricklynchphotography/lib/php/Parsedown.php(48): Parsedown->lines(Array) #3 /home1/sierraf8/public_html/patricklynchphotography/galleries.php(398): Parsedown->text('#Galleries\n##Ta...') #4 /home1/sierraf8/public_html/patricklynchphotography/galleries.php(402): includeFragment('galleries-main') #5 {main} thrown in /home1/sierraf8/public_html/patricklynchphotography/lib/php/Parsedown.php on line 894

Offline

#13 2017-10-02 03:41:32

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: New error on previously working site

I believe that /lib/php/Parsedown.php is a vestige of CE4 Pages. Do you really need that still?
(the lib/ folder contains all of the styling, scripting, etc. in CE4 based pages, albums, etc)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#14 2017-10-02 03:48:46

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

How would you suggest I deal with, just delete the module, or is there a cleaner way to remove?

Offline

#15 2017-10-02 03:53:07

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: New error on previously working site

You could try removing the /lib/ folder from the server if you are no longer using CE4 for any part of your site.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#16 2017-10-02 03:59:40

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

Thanks

Offline

#17 2017-10-02 04:26:54

pjtraveler
Member
Registered: 2012-11-26
Posts: 243

Re: New error on previously working site

A quick check shows that Parsedown is part of BL 122 release 3

Offline

#18 2017-10-02 04:50:20

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: New error on previously working site

The version of Parsedown in /lib/php would have been from a CE4 install. We have since updated CE4 to include a version of Parsedown that is compatible with PHP 7 (which didn’t exist during development of CE4).

The easiest solution would be to backup lib/php/Parsedown.php and upload the version from Backlight into that location.

Offline

#19 2017-10-03 19:07:59

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: New error on previously working site

I see that your site is now blocked by Wordfence.  This post suggests it is an issue with the Endurance cache on Bluehost and provides suggestions: https://wordpress.org/support/topic/you … st-8809398

Offline

Board footer

Powered by FluxBB