5.7.0.3 errors on Files and Members page

Permalink 4 users found helpful
Hi,
Have installed concrete 5.7.0.3 without errors (all checks passed), however when visiting either the Files or Members pages i am presented with an error 'Only variables can be passed by reference', has anyone else experienced these errors?

Don't know if i am missing a step or permission or something when installing.

A have attached a file with my environment info and log files for reference.

Any help would be greatly appreciated wanting to start using concrete 5.7 on a new project!

Javan

2 Attachments

zest
View Replies: View Best Answer
Mnkras replied on at Permalink Reply
Mnkras
That's an odd one, open up a bug report for it.

Mike
zest replied on at Permalink Reply
zest
Yeh i thought so. Have opened up a bug report for it now.

Javan
andrew replied on at Permalink Reply
andrew
Remo posted that he think it's "asp_tags" set to true in PHP. These default to false in PHP and it's likely causing a problem with underscore (which uses asp style tags in its javascript templating engine.) Unfortunately I don't think we can turn these off at runtime so you might have to have them disabled on the server. We will update the installation page to make this clearer.
zest replied on at Permalink Best Answer Reply
zest
Thanks for that Andrew,

Turning off asp_tags works perfectly!

Just a note for anyone else doing this, there a few ways you can do this however the one i took was to create a php.ini file at the root of the project directory and set asp_tags = 0, for me this caused an error 'Class PDO not found' the solution to this was to add the pdo extension to the php.ini file.

So your final php.ini file should look like:

asp_tags = 0
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so


Don't know if you need the sqlite stuff in there but it doesn't seem to hurt.
heath replied on at Permalink Reply
heath
Nice find Javo!

extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
appear to already be loaded for me tho, maybe just my server :)
Phallanx replied on at Permalink Reply
Phallanx
juddc replied on at Permalink Reply
juddc
I just got a PDO error on a site that was already up and running. Site totally unaccessable. I used the code seen here and it seems to have solved the problem.

The site is running 5.7.3.1
alohunk replied on at Permalink Reply
alohunk
Thank you! You saved me headaches.
deanmoncaster replied on at Permalink Reply
I know I am late to the party but this is the exact issue I had and disabling the ASP tags within PHP fixed everything and it started working.

Great find!