Call to undefined function _()

Permalink
Hello, all!

I just moved a site to our new server. PHP is completely fresh. Everything is working great... except when I go to add a page.

I get this:

Fatal error: Call to undefined function _() in C:\Inetpub\wwwroot\demo\CFIConline\concrete\tools\edit_collection_popup.php on line 58

When I set the server up, I enabled the following extensions:

extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysql.dll

Is there more extensions that I need to turn on or do I have a setting not quite right? I'll post my PHP info, if anyone would like to see it.

It's PHP 5.3.2 and C5 5.4.0.

Thanks!

Darkwater23
 
Darkwater23 replied on at Permalink Reply
Darkwater23
Solved, sort of. Turned out to be a permission issue with my account. But, it is odd that the Access Denied message malfunctioned.

Any ideas why it didn't die correctly when I didn't have permission?
dre replied on at Permalink Reply
dre
were you able to figure out why you are getting this issue? I am getting the same thing. Except that i can add pages with the account that i used to create concrete but all the other users cannot. they are administrators and have all available options enabled.

Can anyone help with this?
Darkwater23 replied on at Permalink Reply
Darkwater23
Well, I was just having a permission problem, but when I checked the PHP, there is code in there that should have said "Access Denied" instead of just bombing out.

I have a site setup for a church using advanced permissions. We were getting a lot of weird permission issues with that site.

One thing I learned along the way is that Page Types can have permissions, too. If you go to a Page Type and click on defaults, you can edit the Page Type to add blocks that you'd like included (I assume; I didn't use that feature, but that's what it looks like). There are permission settings there, too.

You might want to check there and see if those permissions are as you expect them to be.