coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Guldstrand on January 11, 2008, 11:55:57 PM

Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Guldstrand on January 11, 2008, 11:55:57 PM
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.
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: 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 (http://forum.coppermine-gallery.net/index.php?topic=27963.0).
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Guldstrand on January 12, 2008, 08:58:57 PM
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 (http://forum.coppermine-gallery.net/index.php?topic=27963.0).
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"? ???
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Guldstrand on January 14, 2008, 07:50:47 PM
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.
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Joachim Müller on January 15, 2008, 08:27:45 AM
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.
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Guldstrand on January 15, 2008, 02:13:35 PM
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".
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: 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
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Guldstrand on January 15, 2008, 03:09:34 PM
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? :-[
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: 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. ::)
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Guldstrand on January 15, 2008, 03:27:18 PM
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.
Title: Re: Cannot Display any PICS after upload!!!!!
Post by: Joachim Müller on January 15, 2008, 07:22:26 PM
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.