Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-02-14 18:57:24

tz.1
Member
Registered: 2013-03-07
Posts: 15

phpinfo() error using publisher and WP theme

I am getting a

phpinfo() has been disabled for security reasons|#0 [internal function]: ErrorHandler::handleError(2, 'phpinfo() has b...', '/home/zollerme/...', 5, Array) #1 ....

see https://zoller.me/photo/galleries/testalbum1/

error after having set up my WP with TTG for WP theme, autoindex, publisher, exactly as in the tutorial. I can see the autodindex page with the overview gallery created by autoindex, working fine. When I click on a gallery to show the CE4 galleries template, however, this error pops up.

Haven´t had this error under ce3 publisher before. Does only CE4 gallery need the phpinfo function to be enabled (which my provider may choose to do or not to do) and all other CE4 plugins don´t need it, or is there another problem in my setup ? For the sake of getting it running, it left the templates virtually unchanged and followed the tutorial.

Actually, I am now getting a different php error. see again the link above. Not sure what the problem is.

Thanks

Last edited by tz.1 (2015-02-14 19:38:38)

Offline

#2 2015-02-14 21:10:20

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: phpinfo() error using publisher and WP theme

phpinfo() is not directly used by any of our code.  It is a function to display system information, so should only be used when viewing a page specifically intended to display the information.  Viewing a gallery is not such a page that would use it.  If you see the phpinfo() error again, please copy and paste the URL that is raising the error and the message you are seeing.

The error message I see on your gallery also has nothing to do with TTG code.  This is a mysql error and TTG does not use mysql.  I would assume something is not working correctly on your host that is affecting Wordpress.

Offline

#3 2015-02-15 19:49:26

tz.1
Member
Registered: 2013-03-07
Posts: 15

Re: phpinfo() error using publisher and WP theme

Have >5 WP instances running on my server for years. First time such a mysql error should occur ? CE3 publisher/autoindex/gallery still running on the same server flawlessly ? PhP 5.4.24 ?

Hard to believe. Didn´t work for me after 3 times installing the site from scratch.

Wasted money for TTG plugins and change to another publishing service now, as I am now giving up and don´t want to spend more time for a futile thing. TTG plugins should be robust enough to run in all typical environments.

Offline

#4 2015-02-15 20:30:30

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: phpinfo() error using publisher and WP theme

Hold it there for a second before you jump to conclusions and unfairly disparage our products.  TTG does not use mysql anywhere.  It also does use use phpinfo unless explicitly called by a page that demands it.

Looking up that error message, I came upon this page: http://stackoverflow.com/questions/1075 … n-mismatch
Essentially, there is a server misconfiguration on mysql.  As we do not use mysql, this is likely coming from some non-TTG code on your system.   I suggest you raise this error with your host's technical support.

For the phpinfo error, can you provide a URL where you saw this, or steps to reproduce it?

I am happy to help you debug this.  If you'd like me to assist, please provide me with FTP access, via the Email link under my picture.

Offline

#5 2015-02-16 21:13:56

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: phpinfo() error using publisher and WP theme

I am closing this thread as it appears that the errors you are having are are not related to TTG products.  If you feel that you have anything else to add, please message me via the PM link under my name.

Update (22 Feb):

Confirmed.  This has nothing to do with TTG products.

Offline

Board footer

Powered by FluxBB