wrong path after editing config wrong path after editing config
 

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

wrong path after editing config

Started by gerdarene, October 27, 2003, 09:31:35 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gerdarene

I installed in ....../coppermine I runned install without problems. When I try to edit the config after the submit the program runs to the path ../ and cannot find the config file. I checked the forum and faq but couldn't find this problem.

Maybe someone can help me

René

jasendorf

got a link?  also, do you have phpmyadmin or some other way to work directly with your MySQL database?
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

gerdarene


Joachim Müller

did you create any albums and upload any pics? If yes, give us the url of a pic (the jpg file itself).
Maybe you messed with the /albums path, look into cpg11d_config via phpMyAdmin and show us part of the dump.

GauGau

me_slayer

Problem

I've the same problem. The path seems to change when I hit the "Config" button under the admin mode and it displays "Document not found". Suprised someone had the same problem as me. The url for the website is //www.photovilla.net

However,
1) I've created this domain (www.photovilla.net) pointing to coppermine script folder named "photoscript". When I click the CONFIG button under Admin mode under this domain, I get the "Document not found" error message.

2) If I go to http://s87919484.onlinehome.us/photoscript/ (the original domain, pointing to the root directory) the CONFIG button works fine and it manages to find the document.

IMAGEMAGICK
Yes, I've managed to install it without root access. But, is there anyway of testing it. I've gone to the CONFIG mode and selected ImageMagick and put a path to it. I've uploaded several pictures and viewed them along with their thumbnails. Is there anyway to verify that it is indeed installed?


In between,  //www.1and1.com is offering 3 years of webhosting on a linux machine w/500 mb space and 5gb traffic with a domain name of sxxxx.onlinehome.us, and ssh access. I've had 'em for a month now with no problems. Signing up for a domain is just $5.99/yr or you can get a free tk domain.

I was looking for a great php photoscript and I must say, I've been impressed with the quality of work your team has put into it. Just GREAT! There are other websites that have all this kinds of stuff, but this is just nice! Keep up the good work.

-----------------------------------------------------------------------------------

Joachim Müller

where is the "broken link" config button pointing you to (url)?

If you entered an Image Magick path in the config and a thumbnail is created when you upload: this proves Image Magick works.

GauGau

me_slayer

The broken link is pointing to :

http://www.photovilla.net/config.php
and photovilla.net is pointing to /photoscript
The cookies don't work right with this URL. If i log in and try to log out, it still keeps me logged in.

However,
http://s87919484.onlinehome.us/photoscript/
which is pointing to the root directory, works perfectly fine.
The cookies work fine here!

Joachim Müller

I get a 404 when clicking http://www.photovilla.net/config.php, but I'd rather have anticipated a coppermine page telling me I'm not allowed to view the page (as I'm not logged in as admin).
I know this sounds lame ("we're not the ones to blame"), but I'd go for problems with virtual hosting. Maybe you can get some help from your webhost on this issue...

GauGau

me_slayer

thank you for your reply and your support. However, I still dont' know where the problem lies. Because i've other sub-domains pointing to different directories and it works just fine. There are others I think who've similar problems, like the starter of the thread. Also, the issue of cookie not working fine with this URL is kind of fishy!

Thank you again
mru

Joachim Müller

I'm not a native speaker of English, so I didn't understand the last sentence of your post, but anyway, here's my 2c:
a) subdomains cause cookie problems. Blame it on the way cookies work.
b) http://www.photovilla.net/config.php simply doesn't exist - no cookie related issue, but server config

GauGau

me_slayer

thank you gaugau. i'm not a native english speaker either!  :)

me_slayer

gaugau, i totally understand what you are saying. But, how come everything else works fine thru the domain (www.photovilla.net) <-- Not a subdomain,  except the CONFIG button. Everything works smooth except that. Even the path to the CONFIG is fine, but server can't find it? Sorry, if i'm firm on this issue. I'm just curious, nothing more. Your support team is great!  :)

Joachim Müller

@me_slayer: did you contact your webhost (or review their documentation) on virtual hosts (rather than subdomains)?

@dev team: we need this absolute_path_to_coppermine constant, we would benefit  on this issue, too...

GauGau

me_slayer

not yet, but i'm going to look into it soon....

thank you

me_slayer

also, i'm getting this webhosting free for 3 yrs...so their support isn't the greatest  :cry:

me_slayer

hi gaugau,
i called my webhosting service today, and had them go through the process of accessing config button through the domain name (www.photovilla.net pointing to a directory called photoscript) and other domain name that was pointing to the root directory. As expected, the CONFIG button didn't work for www.photovilla.net, but it did for the the domain that was pointing to the root directory. He said there maybe something to the code, and the path must be absolute. But, I told him that the path was realtive and it manages to file other files. He explained that the problem wasn't on their end.

Thanks again

me_slayer

Sorry to say, but i'm 100% convinced that its the problem with the code.
I changed the CONFIG button pointing to a different file (for example, search.php) and it works. I still don't know what the problem is.

Thank you

Tarique Sani

Hmm... this has really become interesting now!!

But when I try to go to  http://www.photovilla.net/ it says could not be found :(
SANIsoft PHP applications for E Biz

Joachim Müller

hm, you could edit your theme.php and change the config button link from "config.php" to "http://s87919484.onlinehome.us/photoscript/config.php" to solve this case for you.

Look, it's like this: http://www.photovilla.net/config.php simply isn't there! It's a hard error from your webserver ("404 file not found"). This clearly means that the relation between http://www.photovilla.net/config.php and http://s87919484.onlinehome.us/photoscript/config.php doesn't exist!

Unless I know nothing at all about the web and what makes it tick, I'd say this is a server config problem. No fancy tricks involved on the side of coppermine.

GauGau

me_slayer

GauGau, you are right and i'm wrong again...but this thing is so frustrating that i don't know what to do  :roll: