Galleries problem
-
I moved from hosting this week, everything was fine, but then I found that Galleries (from wordpress) were not shown correctly.
When I click on a thumbnail I get this error on the section
Additional Info (I don’t know if it is from wordpress or from K2)Additional Info * Dimensions: Warning: getimagesize(/mounted-storage/home37a/sub002/sc30070-QKAF/blog/wp-media/stephanie_rice_fhm_4.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/lomasi5/lomasinteresante/blog/wp-content/themes/k2/image.php on line 52 px × px * File Size: Warning: filesize() [function.filesize]: stat failed for /mounted-storage/home37a/sub002/sc30070-QKAF/blog/wp-media/stephanie_rice_fhm_4.jpg in /home/lomasi5/lomasinteresante/blog/wp-content/themes/k2/image.php on line 56 * Uploaded on: Agosto 17, 2008
This is the path of my old hosting: /mounted-storage/home37a/sub002/sc30070-QKAF/blog/wp-media/
This is the path of my new hosting: /home/lomasi5/lomasinteresante/blog/wp-mediaI decided to search for all “/mounted-storage/…..” in my database and replace them with “/home/lomasi5/…..”. I did so, and now the Additional Info section is shown correctly, but the images are no thumbs any more, they are shown full size.
(I replace all “/home/lomasi5/…” with ” /mounted-storage/h…” so the images were shown correctly, but the Additional Info shows the error again)
I’m using 2.7.
- The topic ‘Galleries problem’ is closed to new replies.