PHP error - Page 1 - Post ID 231811

User 2471736 Photo


Registered User
39 posts

Hello, I do not think this is a problem with your software but my hosting company is giving me problems sorting this out.

A quick overview of the situation. My VPS server was having some performance issues so they opted to switch the PHP handler to DSO from SUPHP and all was great. However I created a new cpanel and got some errors with a Joomla extension. After a long process with the higher support techs I gave up. I deleted that cpanel and now created a new one for static sites and tried adding a web form to one and got the same type of error. The form works on any other cpanel created before the switch over. Long story long, I am wondering if you have any idea why the form is giving me this error? The form will not load and the page only gives these 2 error messages. Both files are there as I tried this many times before remembering the previous issue.

Warning: require_once(fbapp/inc/utilities.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/airengin/public_html/testform/gardner_denver/fbapp/php/formpage.cls.php on line 15

Fatal error: require_once() [function.require]: Failed opening required 'fbapp/inc/utilities.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/airengin/php') in /home/airengin/public_html/testform/gardner_denver/fbapp/php/formpage.cls.php on line 15

I realize it's not the program but may need to offer something up to support.

Thanks, much appreciated.
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 103173 Photo


VP of Software Development
0 posts

There can be 2 possible issues here:

1. This issue could be caused by permissions not being properly set on your server. With an FTP client, locate the folder called storage and change the permissions for that folder and all folders under it to 755. That should then fix the issue.

2. That could be caused by PHP Sessions not being enabled on your server. All you need to do is contact your hosting provider and have them enable PHP Sessions and your form will start to work.
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 2471736 Photo


Registered User
39 posts

Thank you for the help. I checked the folder permissions and they were 755 and the php info shows this below. Not sure if this is what you meant by sessions but it appears to be on.

I remember something about the DSO handler and permissions. Probably not the same concept though.

I have not heard back from the hosting company this time around so hopefully they don't start pointing fingers at the website again. I figure this form software is on thousands of servers and I didn't see many posts regarding an error like this.

session
Session Support enabled
Registered save handlers files user mm sqlite
Registered serializer handlers php php_binary

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies On On
session.use_trans_sid 0 0
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 187934 Photo


Senior Advisor
20,193 posts

Can we have a link to your form?
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 2471736 Photo


Registered User
39 posts

Sure, http://www.airengineering.biz/testform/ … quote.html

Thanks
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 187934 Photo


Senior Advisor
20,193 posts

Everything here looks good.
http://www.airengineering.biz/testform/ … essiontest
Did you try republishing your form?
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 2471736 Photo


Registered User
39 posts

When I first started working on this I made 3 or4 and none worked.

It says on the last line:
PHP Sessions:
Sorry, sessions don't appear to work on this server. FormBuilder won't work without them.
What does this mean?

Here's a different cpanel that this same exact form was uploaded to and works. http://sites.ecowebdesign.net/gardner/r … quote.html

Thanks!
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 187934 Photo


Senior Advisor
20,193 posts

That's weird because when I go to the server test it says sessions are usable.:/
I would dbl check that those files are there and what their permissions are.
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 2471736 Photo


Registered User
39 posts

Really, that is very weird. I did a info.php and it showed session enabled, if that's the same thing.

I don't even know where to begin. I dread my hosting company giving me the "It's your website" when it's clearly not the form. The cpanel is copied from the working one so no settings are different.

So your screen shows something like

PHP Sessions:
enabled (or something)
not
PHP Sessions:
Sorry, sessions don't appear to work on this server. FormBuilder won't work without
A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.
User 187934 Photo


Senior Advisor
20,193 posts

Here's what I see.
http://awesomescreenshot.com/0972o71146
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.