Ruudt / contao-page_images

Contao extention to set one or more images per page.
0 stars 5 forks source link

Contao crashes after page_images update to 3.0.1 stable #10

Closed emble closed 11 years ago

emble commented 11 years ago

Contao shows just white screen. Error log shows: PHP Fatal error: Cannot redeclare class tl_module_pageimages in /.../contao/system/modules/pageimages/dca/tl_module.php on line 73

I found in system/modules there are now 2 folders, one is called pageimages, the other is called page_images. The content is identical. ??? This double content is also in the zip on https://contao.org/de/extension-list/view/page_images.html

page_images version was 30000019 build 3

For now I fixed it by just putting a .skip file into page_images folder.

Ruudt commented 11 years ago

My bad, I don't use the exact extension name as the directory the extension is in. The extension repository by default uses the upload target that is exactly alike the extension name. I missed that when updating.

Fixed in v3.0.1 stable build 6

Thanks for reporting the error!

emble commented 11 years ago

OK, I now updated to build 6. In the backend I'm getting now white screen when I update the database: /contao/main.php?do=repository_manager&update=database and also on backend module selection: /contao/main.php?do=pageimages

There is no entry in error.log

Fortunately the frontend still works fine. I have used page_images for 6 months now, it was always fine.

Ruudt commented 11 years ago

I've unintentionally removed a line from a file. But because I actually only made one small change somewhere else I didn't think I would actually have to test the changes. A lot can go wrong. Sorry for that!

Fixed in build 7

emble commented 11 years ago

Now after update to build 7 it works fine. Thank you. Have a nice evening. Manfred