Posts: 34
Threads: 13
Joined: Nov 2010
Hi. I'm trying to use a new plugin but when I put the necessary code on my page it only prints to the screen, instead of executing as it's supposed to. Take a look:
http://beachsun.org/gsimple/directory/
I've installed the exec-PHP plugin to enable php and have edited the page in non-HTML format. Can anyone tell me what I'm doing wrong or not doing at all?
Thanks.
Don
Posts: 49
Threads: 8
Joined: Oct 2011
Posts: 13
Threads: 0
Joined: Sep 2011
hey,
You know there is a thread specifically for this plugin?
Because if you have a prob with a plugin, common sense suggests to post in THAT thread first (at least for me). You'd have more chance at an answer there. (plus there might be more detail for installation too)
http://get-simple.info/forum/topic/2791/...ng-plugin/
I haven't use it so there little chance I can help, sorry
Sorry my English is poor, I'm working on it
Posts: 49
Threads: 8
Joined: Oct 2011
Another thing I don't think you need the execPHP plugin to run the script. The plugin should just work without the exec plugin, which is also only compatible up to GetSimple 2.0 not 3.0. Try removing the execPHP plugin.
Posts: 34
Threads: 13
Joined: Nov 2010
Thank you. This isn't really a message about the plugin, though. I can't seem to get any plugins to work; they all act the same as this one.
So I think it must be a problem with the way I'm treating plugins in general. That's why I posted it in the general forum. Sorry if I confused you.
Don
Posts: 290
Threads: 26
Joined: Oct 2010
@dondemaio - since NO plugins work for you, can you provide information on your installation/host/php version?
Turn on debug and post any errors.
How are you installing plugins? When you upload/unzip the files in your plugin directory what are their permissions?
What does your plugin page show? can you upload a screenshot?
-Rob A>
Posts: 34
Threads: 13
Joined: Nov 2010
Hi, Rob. Here are answers t your questions:
A) I turned on debug by uncommenting line 32 in gsconfig.php. (I assume that's how to turn on debug but I couldn't find the information in the Wiki). I didn't see anything different on the page itself after I turned on debugging.
B) As to how I install plugins -- I upload the unzipped files into the "plugins" directory in the root of the get-simple directory. The php files and the simpledir directory all have 755 permissions.
C) Here is a screenshot of my plugins page:
Thanks for helping. I love this plugin, if only I could get it to work.
Don
Posts: 2,928
Threads: 195
Joined: Feb 2011
dondemaio Wrote:Hi, Rob. Here are answers t your questions:
A) I turned on debug by uncommenting line 32 in gsconfig.php. (I assume that's how to turn on debug but I couldn't find the information in the Wiki). I didn't see anything different on the page itself after I turned on debugging.
Don, Info about DEBUG:
http://get-simple.info/wiki/config:gsconfig
you see a red big button on top in the backend, when you are logged in and DEBUG is activated
more info on DEBUG Mode here:
http://get-simple.info/forum/topic/937/a...ebug-mode/
Posts: 290
Threads: 26
Joined: Oct 2010
2011-11-02, 07:49:32
(This post was last modified: 2011-11-02, 07:49:54 by Chastin3.)
It is the exec_php plugin. It seems to break (some) content parsing in some plugin. It may have something to do with the order plugins are loaded.
Disabling exec_php doesn't fix the problem, it must be completely deleted.
Alternatives to exec_php are:
mvlcek's DynPages plugin
http://get-simple.info/forum/topic/1360/...es-plugin/
the RePlacer plugin
http://get-simple.info/extend/plugin/replacer/50/
and maybe Mike's Shortcodes plugin (if it gets finished
)
-Rob A>
Posts: 290
Threads: 26
Joined: Oct 2010
AHA!
It is related to plugin execution order (alphabetical).
Rename the zzzz-exec_php.php file to ZZZZ-exec_php.php and it will get executed last.
(Some of my plugins use uppercase filenames, and it was those being broken by exec_php, as it must be the last to run it seems).
-Rob A>
Posts: 2,094
Threads: 54
Joined: Jan 2011
RobA Wrote:AHA!
It is related to plugin execution order (alphabetical).
Rename the zzzz-exec_php.php file to ZZZZ-exec_php.php and it will get executed last.
(Some of my plugins use uppercase filenames, and it was those being broken by exec_php, as it must be the last to run it seems).
-Rob A>
Keep in mind that plugins are NOT always executed in the order of their names. The order of the directory list retrieved by GetSimple is dependent on operating system, file system, etc.
You might be lucky by renaming the file, but you might not and it can change as soon as you add another plugin (maybe the files are ordered by file date in your file system).
Posts: 34
Threads: 13
Joined: Nov 2010
Hi. This problem went away when I did a new install. It looks like it's a permissions problem on my server, but thanks to all who tried to help.
Don
Posts: 2,928
Threads: 195
Joined: Feb 2011
Hi Don,
good that it is working now!