Re: Cannot Display any PICS after upload!!!!! Re: Cannot Display any PICS after upload!!!!!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Re: Cannot Display any PICS after upload!!!!!

Started by Guldstrand, January 11, 2008, 11:55:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Guldstrand

Quote from: thunderkt on February 16, 2006, 02:56:49 AM
Dear Sir!

I am using CPG1.4.3 version, I cannot view by original size photo after uploading!
I can see the PIC in index page, i can see it inside the album.
HOWEVER, when I click on each photo to view original size pic, It just display a blankpage!

I have change the permission of the picture folder to 666
How can i Fix this problem?

thanks!

I have the exact same problem, well most with "older" images.

Directlink to one of the images that doesn´t work, in fullsize: http://stcovers.org/displayimage.php?album=lastcom&cat=-2&pos=4

Username: testuser
Password: password

I have tried with both IE and FF as browser.

Joachim Müller

You have a different issue, so you should have started a thread of your own. The page you refered to works fine for me. However, you have inconsistencies in your use of the www subdomain. I split your posting from the thread you hijacked.

Guldstrand

Quote from: Joachim Müller on January 12, 2008, 11:08:10 AM
You have a different issue, so you should have started a thread of your own. The page you refered to works fine for me. However, you have inconsistencies in your use of the www subdomain. I split your posting from the thread you hijacked.
I´m really sorry about "hijacking" the other thread, that wasn´t my intension.

What do you mean by "inconsistencies in your use of the www subdomain"? ???

Guldstrand

Quote from: Guldstrand on January 12, 2008, 08:58:57 PM
I´m really sorry about "hijacking" the other thread, that wasn´t my intension.

What do you mean by "inconsistencies in your use of the www subdomain"? ???
Can you please explain this?
Maybe that´s the solution for my problem.

Joachim Müller

You have enabled bridging and you have enabled your gallery to allow only registered users. Your forum is located at http://stcovers.org/forum/
Subsequently, if someone goes to your gallery (http://stcovers.org/), he is redirected to your forum's login page (http://stcovers.org/forum/index.php?action=login). After logging in you're being redirected to http://www.stcovers.org/ (mind the leading www subdomain) instead of being redirected to http://stcovers.org/.
As a subdomain is a different domain and cookies (both your forum's as well coppermine's authentification rely on the use of cookies) are needed to authentificate users. Be consistent in your use of the www subdomain (best idea is to apply a redirectory using .htaccess that send visitors from the www subdomain to your actual domain) and make sure too set up your gallery's config page properly. Not related to your initial question, that's why I was hesitant to answer your second question. We have board rules, and you already broke several of them (one issue per thread, no thread-hijacking). I suggest reading the board rules up and doing as suggested there from now on.

Both your initial issue (blank pages) as well as the second issue (inconsistencies of the www use and how to fix that) has been covered in this forum quite often already. I suggest to search the board for previous discussions and do as suggested there.

Guldstrand

Hmm, ok...  I still can´t understand it.

I have this in my httpd.conf:
Quote<VirtualHost *>
DocumentRoot /home/var/www/stcovers
<Directory "/home/var/www/stcovers">
allow from all
Options +Indexes
</Directory>
ServerName stcovers.org
ServerAlias www.stcovers.org
</VirtualHost>
..as you can see, i´m also using "www".

Joachim Müller

Which is wrong in terms of authentification. Hence my advice to drop this. Redirect everybody who's trying to access www.stcovers.org to stcovers.org

Guldstrand

Quote from: Joachim Müller on January 15, 2008, 03:04:03 PM
Which is wrong in terms of authentification. Hence my advice to drop this. Redirect everybody who's trying to access www.stcovers.org to stcovers.org

Really..? What´s the best way to add virtual hosts then?

And how would the .htaccess-file look like? :-[

Joachim Müller

I have already said that your second issue should have gone into a separate thread and that you should have searched the board for previous discussions. Continuing with it here makes me less reluctant to look into your issues. Take a look at http://forum.coppermine-gallery.net/index.php?topic=26521.0 for an example how to accomplish what I'm suggesting, or countless other thread - all to be found using this forum's wonderfull search feature. ::)

Guldstrand

Quote from: Joachim Müller on January 15, 2008, 03:15:42 PM
I have already said that your second issue should have gone into a separate thread and that you should have searched the board for previous discussions. Continuing with it here makes me less reluctant to look into your issues. Take a look at http://forum.coppermine-gallery.net/index.php?topic=26521.0 for an example how to accomplish what I'm suggesting, or countless other thread - all to be found using this forum's wonderfull search feature. ::)
I looked at that thread, and added...
QuoteRewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.stcovers\.org$ [NC]
RewriteRule ^(.*) http://stcovers.org/$1 [R,L]
..into a .htaccess file. But i still have the same problem of viewing some images.

Joachim Müller

Quote from: Guldstrand on January 15, 2008, 03:27:18 PM
But i still have the same problem of viewing some images.
OK, finally we're back to your initial issue.
Your server is dead slow (the forum login process takes ages...).


Wait a sec: there is a token that appears to be familiar: at the bottom of your forum you have added someting like "Modifierad av BT-loader". This looks painfully familiar. OK, looking up notorious Mr. "BT-loader". He is banned. And wait another sec: his webpage used to be (surprise, surprise) http://stcovers.org/
So it is you - the banned user "BT-loader" who signed up using another username. I should have known from your record of misbehaviour that you showed with your new user account. Well, Mr. Guldstrand - you're banned as well. No re-signing up under another username. Life-time ban means life-time ban.
Bye.