Link to my site: eve dot atomicpunks dot com
SMF version: SMF ver. 2.0.1
TP version: TP ver. 1.104
Default Forum Language: English
Theme name and version: BR Final
Browser Name and Version: Chrome/14.0.835.186 m
Mods installed: No mods
Related Error messages: No Errors
When trying to submit a PHP block with any content in the Body textbox the browser sits there trying to submit like a bad connection. If I change it to HTML block I can submit with no problems.
I've tried something as simple as:
echo 'PHP Test'; and it fails to submit. If I change block to HTML block and input
QuoteHTML Test
it submits fine.
I've tried in both chrome and IE with no success. For some reason it acts like it can not handle submission of PHP. There are no errors in the log, and I can leave the browser waiting to see if it will time out and it does not.
Hi! Rack,
I don't think any one under stands what your talking about. Your saying the word 'submit' and there's no form. If you create a new PHP Article and add some thing like this to it.
echo '
Hello World
';
and then view the PHP Article you should see the words 'Hello World'.. If your trying to submit a form. for process of data. Please include your code so we can see just what your doing
or if your thinking about the TP Block. if you go http://www.df-barracks.com/index.php here and look on the right hand side. You will see a test block that I made and it does work. Maybe your not configuring it right.
1) Create a new Block.
2) Change the block type to PHP Code
3) Click Save. <-- Important
4) add your php code to the text box
5) Click save again.
Then view your block and you shouldn't have any problems with it.
What he is saying is perfectly clear. When he hits the button to save the block, the browser does basically nothing when it is a php block.
Very strange, I am unable to reproduce this in Firefox, I'll try with Chrome later. Are you copy/ pasting from somewhere, or typing directly into the block?
WillyP is correct.
and to answer WillyP question I'm typing direct. I've used SMF/TP for years with no issues before. I'm by far no expert but I've created PHP blocks and articles before with success on my other forums. Not sure what the issue is here with this one. It is my first time with SMF 2 though.
I've also found out I'm having the same problem with PHP articles. It just will not submit/save when type is PHP code. All other types work fine.
The other sites that don't have the same problem, are they on the same server?
Yeah sounds like a server issue. I'm betting server settings are not allowing something to happen. Hard to say what at this point though.