Saturday, April 28, 2012

My answer to "Subdirectory installation problems"

This is my answer to a Question on Support site for LampCMS project


Actually I looked into this little further and realized that this is not an easy thing to do right now.
The rewrite rules have to be changed as well as a new functionality have to be added to site to automatically
prefix all generated urls with some type of constant like WWW_BASE_DIR

I will treat this as a feature request and will work on it.

Wednesday, April 18, 2012

My answer to "Math symbols support"

This is my answer to a Question on Support site for LampCMS project


This has been asked before.

http://support.lampcms.com/q1120/Math-symbols-supported

If you can post a UTF-8 char of math symbol it will be rendered in Lampcms without any problem

I will have to research this further in case it cannot be solved just by using UTF-8

My answer to "Error in Exception handler: : file_put_contents(php.log): failed to open stream: Permission denied"

This is my answer to a Question on Support site for LampCMS project


This means that program cannot write to php debug log.
What this also means is that there was some kind of exception thrown, then exception handler tried to write the error message to php debug log and was unable to do it.

The default debug log is located in www dir, which is a bad place to have your log file.
You should set a path to your own writable directory where you want to keep debug log.
Look in your !config.ini file - search for LOG_FILE_PATH setting and edit it.
Set it to full path to your own writable directory anywhere on your server.
For example something like /var/logs/lampcms.log

Sunday, April 8, 2012

My answer to "Right to Left Laguages"

This is my answer to a Question on Support site for LampCMS project


Tought question. I have not tried it. You can try creating a translation .xlf file based on the russian translation file and see it it will make any sense.

In translations folder copy messages.ru.xlf to your own language, for example messages.ir.xlf then translate all strings to your language.

You will also have to add your language to the [LOCALES] section of !config.ini
for example, add ir = "Iran"

This will add a language to the drop down language selections. (you may need to also go to settings link and click on clear cache and also may need to logout and log back in to see the changes since translation object is cached and may be stored in session)