[Tools] Why is my php code does not work after editing?

Frequently asked questions.

[Tools] Why is my php code does not work after editing?

Postby Adminer » Sat Jul 02, 2011 8:23 pm

Hi!

Sometimes you should write something in php code, or in RazorCMS skin theme, or php code.
DON'T DO THAT USING MS WORD OR M$ NOTEPAD.

You may have a problem with BOM and utf-8, if you are using it (find on google: php BOM problem).

So, I recomended to edit all Razor files with this editor: notepad++
Download link: http://notepad-plus-plus.org/download

"Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License."

You can find there an option in menu for utf-8 charset: Format/ code in utf8 without BOM.


Another very nice looking editor is SynWrite editor:
http://uvviewsoft.com/files_syn/SynWrite.exe
Mirror: http://www.totalcmd.net/plugring/syn2.html

- syntax highlighting for lot of languages
- customizable highlighting
- code folding
- tree structure
- auto-completion
- support for almost all encodings
- search, replace with reg. exp.
- search/replace in multiple files
- support for external tools, capture of console output, errors navigation
- strings extraction feature
- tabs
- bookmarks
- code templates
- toolbar themes
- customizable hotkeys
- export to RTF/HTML
- and more

Status: open source
Screenshot: http://wincmd.ru/files/wlx_syn.jpg


The second problem is to do something in your txt database - if you are advanced user only !!!! ( If you don't know about serialize and txt database - don't touch this !!! )
The best tool I have tested to do that is Unired.
Download link: http://www.esperanto.mv.ru/UniRed/ENG/index.html

It supports many charsets.
It is helping you with editing your txt database and save it in your language charset - if you change this in your Razor configuration after creating your pages.
Adminer
 
Posts: 578
Joined: Wed Apr 08, 2009 9:52 pm
Location: Poland

Return to FAQ's

Who is online

Users browsing this forum: No registered users and 1 guest

cron