Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tag isn't executing
#1
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
Reply
#2
Hmm... take a look at the plugin's forum:
http://get-simple.info/forum/topic/2791/...ng-plugin/
Reply
#3
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
Reply
#4
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.
Reply
#5
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
Reply
#6
@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>
Reply
#7
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:[Image: le_plugins.jpg]

Thanks for helping. I love this plugin, if only I could get it to work.

Don
Reply
#8
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/
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#9
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 Tongue )

-Rob A>
Reply
#10
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>
Reply
#11
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).
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#12
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
Reply
#13
Hi Don,

good that it is working now!
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply




Users browsing this thread: 1 Guest(s)