Photos not shown after transfer from Localhost

  • cahuk
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago #30788 by cahuk
I had everything working on my localhost but whwn I copied the database to my server the photo galleries had an issue.

Warning: mkdir(): No such file or directory in /home/sites/ten27.co.uk/public_html/plugins/content/photogallery/photogallery.php on line 136 Warning: opendir(images/stories/demo/gallery/callow/): failed to open dir: No such file or directory in /home/sites/ten27.co.uk/public_html/plugins/content/photogallery/photogallery.php on line 112 Warning: mkdir(): No such file or directory in /home/sites/ten27.co.uk/public_html/plugins/content/photogallery/photogallery.php on line 136 Warning: opendir(images/stories/demo/gallery/callow_2/): failed to open dir: No such file or directory in /home/sites/ten27.co.uk/public_html/plugins/content/photogallery/photogallery.php on line 112

Some do work but some others only show thumbnail with no image.


www.ten27.co.uk/index.php/features/callow - Page shows above error

www.ten27.co.uk/index.php/features/bretby - Page shows no thumbs

www.ten27.co.uk/index.php/features/calke - Works okay


Any help would be great.

Chris

Please Log in to join the conversation.

More
11 years 5 months ago #30796 by ivan.milic
Probably CHMOD on your server is set do forbid folders and files access/creation. You should be able to change CHMOD to 755 from hosting file manager (cpanels file manager can do that). Also maybe path to images folder changed

Please Log in to join the conversation.

  • cahuk
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago #30815 by cahuk
I did check that and directory is set to 755 but still only get the attached displayed. In the joomla administrator I have path of "/home/sites/ten27.co.uk/public_html/images/stories/demo/gallery/Bretby"
So in the article the photogallery script is:-

{photogallery}/home/sites/ten27.co.uk/public_html/images/stories/demo/gallery/Bretby{/photogallery}

If I create another folder and upload image the thumbnails directory does get created.


www.ten27.co.uk/index.php/rooms-menu/bretby

Any help is appreciated.

Thanks

Chris
Attachments:

Please Log in to join the conversation.

More
11 years 5 months ago #30819 by ivan.milic
I think

{photogallery}images/stories/demo/gallery/Bretby{/photogallery}

or

{photogallery}/images/stories/demo/gallery/Bretby{/photogallery}

should work

Please Log in to join the conversation.

Time to create page: 0.172 seconds
Powered by Kunena Forum