Thursday, September 8, 2011

Re: Custom Plugin not loading anymore

When i dont load my plugin i see the standard cake page, telling me that my database connection is working, tmp directory not writable (im using db sessions, so that doesnt matter), and so on. Css is also loaded, so everything seems to work.
When i try to include my helper i get an error message saying something like unknown variable $javascript.




WebbedIT <paul@webbedit.co.uk> schrieb:
So what do you now see when accessing your apps home page?

On Sep 8, 10:45 am, "flo.kl...@googlemail.com"
<flo.kl...@googlemail.com> wrote:
> Ok, the app works, so routing should be ok. I read somewhere that RewriteBase can be set in .htaccess file. Might that help?
>
> Thanks
> Flosky
>
> WebbedIT <p...@webbedit.co.uk> schrieb:
>
> All cake routing needs is for mod_rewrite to be enabled on your server
> and everything else works out of the box.
>
> HTH, Paul
> @phpMagpie
>
> On Sep 7, 1:47 pm, "flo.kl...@googlemail.com"
>
>
>
>
>
>
>
>
>
> <flo.kl...@googlemail.com> wrote:
> > Have tried it. Also tried the bare version on my pc first (where it worked). I think its a config error, but i dont have much experience with .htaccess or cake routing (this is where i suspect the error at the moment)
>
> > Flosky
>
> > WebbedIT <p...@webbedit.co.uk> schrieb:
>
> > Why not upload your full local app? Thats the point of developing
> > offline, to ansure all is ok then upload everything that you know
> > works to your server. If anything then goes wrong you know it server
> > config errors.
>
> > Sounds like your fresh cake could be a different version if you're
> > saying the folders are different.
>
> > HTH, Paul
>
> > On Sep 3, 6:57 pm, Flosky <flo.kl...@googlemail.com> wrote:
>
> > > Hey everyone,
>
> > > I had a fully working setup on my pc where i was developing my cake
> > > app. With that I was using a custom plugin that I downloaded. I put it
> > > in /plugins and I could use the helper and component that came with
> > > the plugin.
>
> > > Now I want to transfer this setup to a cloud hoster
> > > (cloudcontrolled.com). To try this step by step, I got  a fresh cake
> > > version from the website and loaded it up. For this the cake folder is
> > > in ther root directory and there is no app folder (the controller,
> > > view, model,plugins,.. files are in the root directory as well).
> > > When I add the plugin helper to the app_controller.php I get an error
> > > message indicating that the Javascript helper isnt working anymore. I
> > > read that this indicates that some helper isnt loading properly. When
> > > i remove the plugin helper everything works again.
>
> > > Are there other settings that could screw this up (like routes,
> > > rewrite rules, default directory settings, ...)??
> > > I also used the latest version of cake, but there shouldn't be any
> > > issues with that, should there??
>
> > > I would greatly appretiate some help.
>
> > > Cheers, Flosky
>
> > --
> > Our newest site for the community: CakePHP Video Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php
>
> --
> Our newest site for the community: CakePHP Video Tutorialshttp://tv.cakephp.org
> Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help others with their CakePHP related questions.
>
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: