Forgot password?
Welcome to our site!
Or Join with FTTF

Error in profile page


When trying to access my lampcms profile page (, now (yesterday it worked) I get this error:

  Error: Undefined index: count

I would like to change my profile because the system mixed the username I did choose (Marcos) with my surname (Solari), using "Marcos Solari" to identify me, but my name is "Marco Solari"...
IIRC I did register with Google from FriendConnect...
Edited November 21, 2011 4:13 am CST
bug profile
asked November 21, 2011 at 4:09 AM

Thanks for report. Yesterday I uploaded all the recent files to the this site's web server. This will give me a chance to spot more error. As errors are found, I'll be uploading the latest fixes to github.
Nov 21 '11 at 5:44

1 Answer

It's fixed now. What happened is that I redesigned a templating engine, basically improved it alot. Now the templating engine has 2 base classes "Fast" and "Simple", Simple extending Fast.

The "Fast" template has ordered placeholders - in the format that works with sprintf() function, which basically has placeholders like %1$s, %2$s, etc - in order, and each placeholder can appear more than once in the template if necessary. This template uses vsprintf() function of php to render the template, which is very fast.

The "Simple" template has named placeholders like {some_name}, {something_else}, etc. This type of template is alot easier to create and edit but it's 20% slower to render. Basically any template that being used inside the loop - like to render a list of comments or a list of answers, etc should extend "Fast" template, but templates that used only once on page like to render some block on the page can extend "Simple" template.

Anyway, now I uploaded new templates to go with the new templating engine and everything works again.

Also in debug mode the templating engine automatically adds html comment blocks to <!-- begin sometemplate --> and <!-- // end sometemplate --> and also comments before and after the template loop. This makes it very easy to debug your template design by just viewing the source html of the page.

These comments are not added in production (non-debug mode), so you don't worry about extra overhead for your production site.

I also plan to release this templating engine as a stand-alone project, calling it "Fast and Simple" php templates.
answered November 21, 2011 at 6:01 AM
Do you plan to write some old plain documentation, too? ;-) I am planning to use your project for a new site, but it's not so simple, without any docs nor documented APIs ... :-(
Nov 21 '11 at 10:26
Yes, I plan to write some docs on these topics: how to edit templates, how to write plugins and how to use API. But all these will take time, probably 4-8 weeks
Nov 21 '11 at 19:17
@Dmitri Snytkine
Of course! Thanks for Your Great Work!
Nov 22 '11 at 10:52

Your answer

Join with account you already have