Wednesday, July 1, 2009

Cakephp in the root + zencart + images not showing up

Hello there,

I am using the latest version of Cakephp under php 5.something. I
built a little application blog-like and I put it on different
webservers.
During developement under Xampp (in a subfolder of httpdocs) I had no
issuesat all but when I put it on a remote hosted server, in the root
of httpdoc folder, the application started behaving weirdly.

First, I am not able anymore to see images outside the webroot/img
folder. I have a folder /images, under the httpdoc root, where i put
files uploaded with fckeditor, upload works, but not displaying, even
if the path is correct. If I try to access the image directly with its
full path, I get the Missing Controller error from Cakephp!
Is this something related with the htaccess file? Actually I am using
the default one included in the cakephp package.
This is quite worrying because there will be a zencart shopping cart
application in a subfolder of the httpdocs and if I get those errors
with images, I guess zencart won't work at all.
How can I fix it?

The other issue is, the "next" and "previous" button from the
paginator now appears even when they are not needed. Really don't know
why.

Thank you in advance
Alessandro

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: