PLUGIN WRAPPER Warning: preg_match() [function.preg-match]

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

Post Reply
schaffi
Posts: 1
Joined: Sun Jun 29, 2008 7:07 pm

PLUGIN WRAPPER Warning: preg_match() [function.preg-match]

Post by schaffi » Sun Jun 29, 2008 7:18 pm

Error: Warning: preg_match() [function.preg-match]... Unknown modifier 'h' in /usr/export/www/hosting/xxx/cmsimple/cms.php on line 359

Hello,

I' m just starting first time with cmsimple. It' great!
Now, there is a problem I can't solve without any help!

I'd installed the plugin Wrapper.
And now I want to test it.

But there is that Error.

Perhaps there are some settings to make in any file?

Please help me!

Thannx!

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: PLUGIN WRAPPER Warning: preg_match() [function.preg-match]

Post by Holger » Thu Jul 03, 2008 1:06 pm

Hi,

I've tested the wrapper-plugin and only got a notice in function wrap and autowrap belong
to the undefined variable $t.
This is not an error, just a notice - but it may be fixed by initialise $t at the top of both functions.

So I think that you have a problem / mistake in your cmsimple-scripting (maybe sth. like #h in your code).

Would you please post the scripting with the wrapper-call here?

And you may test the plugin by copy'n paste the code from the wiki into your page:

Code: Select all

#CMSimple $output.= wrap("http://www.google.de", "100%", "500", "auto", "true","Site is loading", "Page cannot be found.");#
Holger

Post Reply