Skip to content

Problem with uploads path #32

@reezooh

Description

@reezooh

Hi, there.

I have two installations of CI with Imagecrud in the same server. The controller is in a subfolder called 'cms' inside 'controllers'. When I try to upload images in development install all is right. I get this line in console:

POST http://vaello.franciscobosch.es/index.php/cms/ima...ilesize=72225&qqfile=8003462-light-bulb-idea.jpg 200 OK 463ms

But when I try to upload images in production site I get an upload failed message, with the following line in console:

POST http://vaello.es/index.php/images/index/upload_fi...5&qqtotalfilesize=159608&qqfile=52210color12.jpg

404 Not Found
179ms

As you can see the difference is that the first one is taking the right pathwith the /cms/ folder after index.php, but not the second one.

Any help will be appreciated.

Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions