Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Attached is a picture of an admin system that works 100% fine locally, but when put onto production server it shows hundreds of /n/n/t/t
Now I have about 30 over instances of SS3 running on that server fine, so I just can't figure out why?
Reloading the cms at that point might give you a better clue. For me that always happens when I had added an echo somewhere and forgot to remove it... So some unwanted output somewhere?
Try checking your _config.php files for whitespace before opening php tag. I vaguely remember having that same issue...
White space did it at the start of one of my php files within mysite/code.
Glad to be of help.
Maybe this is something that could be mentioned somewhere in the config docu, since it's a hard one to track down.
Care to make a ticket?
Here's my two cents worth: I am using SS 3.1.13. I include the closing ?> tag along with the opening <?php tag since it just doesn't feel right to leave tags open, anywhere! I had white space AFTER my closing tags and removing this solved the OP's problem for me.
It's a PHP file, not an HTML file.
Don't think of it as not closing PHP mode, think of it as never opening a direct output (ie. html) mode.
This kind of issue is often caused by characters in direct ouptut - often zero width ones, which can be a real problem to track down. It's safer (and more natural) to simply just not use ?>
I'm not sure about it being "more natural" to leave out the closing tags, but I do see the error of my ways :)
Now, all I need to do is set up my editor to not automatically put in the closing ?> and break my bad habit!