Dear Pablo,
I am sorry my left-handedness, but I am not able to understand the following:
I create forms
my php file can be displayed from my computer (it appears as html) but it cannot be displayed from the server. I get an 500 Internal Server Error. What do I make wrong?
I have old php files made by me with an earlier version of wysiwyg. They have been working on my server for years. If I re-edit and save them by wysiwyg and put them into a new server directory I get the same 500 error. Shall I change something in my web builder (that I really love)
T.
Php from server cannot be displayed
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
Re: Php from server cannot be displayed
Usually this indicates an error in the syntax. For example, there may be quote or other invalid character in your settings.
To be able to help you I need to see the PHP code.
To be able to help you I need to see the PHP code.
- BaconFries
-
- Posts: 5619
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Php from server cannot be displayed
PHP cannot be viewed/previewed locally on your PC it is required ti be uploaded to your server. Please also ensure that the page extension is named correctly eg .php and not .htmlmy php file can be displayed from my computer (it appears as html)
but it cannot be displayed from the server. I get an 500 Internal Server Error.
As the message says it is a internal server error which means something has went wrong on the server. Please contact you hosting provider for help. It may just be a temporary issue amd will resolve itself in a couple of hours.
-
-
- Posts: 74
- Joined: Sun Feb 09, 2014 12:58 pm
Re: Php from server cannot be displayed
Dear Pablo,
pls give a look at these pics
php appears as html on my computer in chrome, I find it cool:
https://www.mediafire.com/view/av793av0 ... 1.jpg/file
https://www.mediafire.com/view/821t1141 ... l.jpg/file
I will ask my hosting provider about 500 internal server error
T.
pls give a look at these pics
php appears as html on my computer in chrome, I find it cool:
https://www.mediafire.com/view/av793av0 ... 1.jpg/file
https://www.mediafire.com/view/821t1141 ... l.jpg/file
I will ask my hosting provider about 500 internal server error
T.
Re: Php from server cannot be displayed
To be able to help you I need to see the PHP code.
Menu -> Page -> Page HTML
It works locally because then the PHP code is filtered out.
Menu -> Page -> Page HTML
It works locally because then the PHP code is filtered out.
-
-
- Posts: 74
- Joined: Sun Feb 09, 2014 12:58 pm
Re: Php from server cannot be displayed
I was happy at a sad part
pls see the wbs file, it is a standalone file
https://www.mediafire.com/file/wea2o6g4 ... s.wbs/file
Thank you for your kind help
T.
pls see the wbs file, it is a standalone file
https://www.mediafire.com/file/wea2o6g4 ... s.wbs/file
Thank you for your kind help
T.
Re: Php from server cannot be displayed
I have found the following issues:
- the specified email address is not valid
- the form does not have an success and error page.
- the CSV points to ./public_html/kerdoivproba/keerdodo.csv, this is most likely not correct.
If the CSV file is in the same folder then it should be set to
./keerdodo.csv
Also, make sure the file exists on the server and is writable.
- the specified email address is not valid
- the form does not have an success and error page.
- the CSV points to ./public_html/kerdoivproba/keerdodo.csv, this is most likely not correct.
If the CSV file is in the same folder then it should be set to
./keerdodo.csv
Also, make sure the file exists on the server and is writable.
-
-
- Posts: 74
- Joined: Sun Feb 09, 2014 12:58 pm
Re: Php from server cannot be displayed
There was an error, too many options were allowedon the server and is writable
Thank you !!!
I do not know the precise terms, so I put a pic here for armatures like me.
It shows the right permissions: octal 0644 in both cases (csv and php).
https://www.mediafire.com/view/19u3bo7o ... e.jpg/file
Thank you for you fast and kind help
T.
Re: Php from server cannot be displayed
Maybe it needs to be 666 or 777?
Does it work when you disable CSV?
Does it work when you disable CSV?
-
-
- Posts: 74
- Joined: Sun Feb 09, 2014 12:58 pm
Re: Php from server cannot be displayed
I have tried both options.
No, it works only with 0644
Yes, it works without csv, but of course it does not write
No, it works only with 0644
Yes, it works without csv, but of course it does not write