Deprecated: __autoload - Post ID 293725

User 115757 Photo


Registered User
7 posts

I am getting errors:
This error appears above the form...
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /home/spect760/public_html/medford/fbapp/php/config.inc.php
on line 64
This error appears when the form is submitted
Your form could not be submitted for the following reason(s):

Warning: [ err 2/line 391/config.cls.php] session_start(): Cannot start session when headers already sent
Warning: [ err 2/line 391/config.cls.php] session_start(): Cannot start session when headers already sent

How can this be resolved?
User 115757 Photo


Registered User
7 posts

This is the form I am working on:
http://www.spectrummedford.com/contact.php
I have web form builder version 2.9 build 5557
User 2906089 Photo


Registered User
222 posts

What's the version of php on your server? It needs to be under 7.2 if I recall correctly.
Learn something, Share something.
User 115757 Photo


Registered User
7 posts

I don't know what version PHP they have on the server.
I have a ticket into support asking this question...
This is a new hosting company I have not worked with before.
User 115757 Photo


Registered User
7 posts

The PHP version was 7.2 and I re-set it to 7.0 in cPanel and everything is working now.
Ron
User 2088758 Photo


Senior Advisor
3,086 posts

Glad you were able to figure it out Ron!
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 2829919 Photo


Registered User
18 posts

Is this the only thing to do as a solution ??
Having to downgrade to a very old php version?
Sees that some suggest versions as old as 5.3
Or..its a smooth way to direct users to use s-drive
Exercitatio artem parat - Practice makes perfect
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

Heimo Matinlassi wrote:
Is this the only thing to do as a solution ??
Having to downgrade to a very old php version?
Sees that some suggest versions as old as 5.3
Or..its a smooth way to direct users to use s-drive

All of my forms are running fine on version 7.3. It may be a specific setting in the ini file on the host.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2829919 Photo


Registered User
18 posts

Eric Rohloff wrote:
Heimo Matinlassi wrote:
Is this the only thing to do as a solution ??
Having to downgrade to a very old php version?
Sees that some suggest versions as old as 5.3
Or..its a smooth way to direct users to use s-drive

All of my forms are running fine on version 7.3. It may be a specific setting in the ini file on the host.



How about __autoload then? how do you fix that in php 7.3?
Exercitatio artem parat - Practice makes perfect
User 187934 Photo


Senior Advisor
20,181 posts
Online Now

I would contact your host and or open a support topic.
https://www.coffeecup.com/help/myroom/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.