[Solved]: Installation & upload works fine, but no pictu [Solved]: Installation & upload works fine, but no pictu
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Installation & upload works fine, but no pictu

Started by Hefa, March 31, 2004, 12:59:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hefa

I have managed to install without problems. Also I have uploaded some pictures to the right directory. Have checked on the server and thumbnails are created as well.

I can see where the pictures are supposed to be, but they are not there. There's just the typical "box" with "picturename.jpg", as if the pictures were not found on the server. But I know they are there!

Anyone has any idea what I can do about this?

Casper

We need a few more details than that to help.  If you can, provide a link, with user account and pass if required to view the pics.

Details of your setup.

How were you uploading, ftp or coppermine upload.  If ftp, where did you place the pics, i.e., coppermine/albums/?????
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Hefa

The gallery is at http://www.henrik-w.com/galleri

You can use the following user-account:

user: test
password: test

The server is using Linux and Apache, and of course MySQL.

I belive I uploaded the pics with FTP and they are in galleri/albums/userpics

I would be very grateful for some help  :?

Casper

Hi Hefa,

You must not put the pics in the 'albums/userpics' folder. that is used when users upload through the coppermine upload facility.
You should ftp into 'albums/your_new_folders/'.  So you should use the coppermin delete to clear the database of these pics, and re-upload them to a new folder you make.  Make sure the chmod is the same as your albums folder.

Also, you seem to have an .htaccess file restricting access to the userpics folder, which would not let me see the pics, even when logged in.  Maybe this is your problem.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Hefa

Thanks for your answer. I have removed the .htaccess-file there was (though I made a backup of it), also tried uploading by using the upload-feature of Coppermine. Didn't work.

Also tried FTP-ing to a new directory created in my userpics-folder. No luck with this either.

I'm kinda new on this thing so I'm not quite sure about how .htaccess-files work. Could it help if I create a .htaccess-file and put it in the userpics folder? What should be in this file?

Casper

There is still something blocking access to your userpics folder.  What is the chmod?  It should be 755 or 777.

QuoteAlso tried FTP-ing to a new directory created in my userpics-folder. No luck with this either.

I said you MUST NOT ftp into the userpics folder, or any sub-folder.
You must create new folders inside the 'albums folder' BUT NOT in the 'userpics' folder.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Hefa

...well... :oops: ...

Will fix that...and check the chmod.

Hefa

Yes that seems to work  :D

Thanks a million. Now I'll upload a bunch of things and see how it works...