coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: gerdarene on October 27, 2003, 09:31:35 PM

Title: wrong path after editing config
Post by: gerdarene on October 27, 2003, 09:31:35 PM
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é
Title: wrong path after editing config
Post by: jasendorf on October 27, 2003, 10:16:13 PM
got a link?  also, do you have phpmyadmin or some other way to work directly with your MySQL database?
Title: wrong path after editing config
Post by: gerdarene on October 27, 2003, 10:22:24 PM
http://www.stellenchat.nl/coppermine and yes I can work with phpmyadmin

tnx for the reply
Title: wrong path after editing config
Post by: Joachim Müller on October 28, 2003, 08:16:23 AM
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
Title: same problem here....
Post by: me_slayer on October 29, 2003, 03:45:06 AM
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.

-----------------------------------------------------------------------------------
Title: wrong path after editing config
Post by: Joachim Müller on October 29, 2003, 09:24:54 AM
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
Title: wrong path after editing config
Post by: me_slayer on October 29, 2003, 09:56:44 AM
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!
Title: wrong path after editing config
Post by: Joachim Müller on October 29, 2003, 10:11:39 AM
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
Title: wrong path after editing config
Post by: me_slayer on October 29, 2003, 10:38:37 AM
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
Title: wrong path after editing config
Post by: Joachim Müller on October 29, 2003, 11:04:51 AM
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
Title: wrong path after editing config
Post by: me_slayer on October 29, 2003, 06:37:49 PM
thank you gaugau. i'm not a native english speaker either!  :)
Title: wrong path after editing config
Post by: me_slayer on October 29, 2003, 07:20:56 PM
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!  :)
Title: wrong path after editing config
Post by: Joachim Müller on October 30, 2003, 08:04:33 AM
@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
Title: wrong path after editing config
Post by: me_slayer on October 30, 2003, 09:46:28 AM
not yet, but i'm going to look into it soon....

thank you
Title: wrong path after editing config
Post by: me_slayer on October 30, 2003, 09:49:28 AM
also, i'm getting this webhosting free for 3 yrs...so their support isn't the greatest  :cry:
Title: wrong path after editing config
Post by: me_slayer on October 31, 2003, 12:12:08 AM
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
Title: wrong path after editing config
Post by: me_slayer on October 31, 2003, 06:52:06 AM
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
Title: wrong path after editing config
Post by: Tarique Sani on October 31, 2003, 07:21:30 AM
Hmm... this has really become interesting now!!

But when I try to go to  http://www.photovilla.net/ it says could not be found :(
Title: wrong path after editing config
Post by: Joachim Müller on October 31, 2003, 07:29:08 AM
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
Title: wrong path after editing config
Post by: me_slayer on October 31, 2003, 08:00:08 AM
GauGau, you are right and i'm wrong again...but this thing is so frustrating that i don't know what to do  :roll:
Title: wrong path after editing config
Post by: me_slayer on October 31, 2003, 08:01:04 AM
Quote from: "tarique"Hmm... this has really become interesting now!!

But when I try to go to  http://www.photovilla.net/ it says could not be found :(

dude, you are from nagpur? I visited that place some years back.....
me indian too
Title: wrong path after editing config
Post by: Tarique Sani on October 31, 2003, 08:16:00 AM
Quote from: "me_slayer"dude, you are from nagpur? I visited that place some years back.....me indian too
No doode - I am from Planet Vulcan - Nagpur, India  address is just to prevent silly  questions - damn who would have thot that people knew Nagpur :twisted:

Welcome to the community
Title: wrong path after editing config
Post by: me_slayer on October 31, 2003, 09:40:26 AM
Quote from: "tarique"
Quote from: "me_slayer"dude, you are from nagpur? I visited that place some years back.....me indian too
No doode - I am from Planet Vulcan - Nagpur, India  address is just to prevent silly  questions - damn who would have thot that people knew Nagpur :twisted:

Welcome to the community

thats funny....i've one more question if someone can help

There is an option for ImageMagick that says -antialias. Is there any other command line options that i can use?
Title: wrong path after editing config
Post by: Tarique Sani on October 31, 2003, 09:48:05 AM
Quote from: "me_slayer"There is an option for ImageMagick that says -antialias. Is there any other command line options that i can use?

See the man page for "Convert" and select if you find anything useful, the image quality is already controlled by config
Title: Re: same problem here....
Post by: flyer on November 04, 2003, 08:25:36 PM
Quote from: "me_slayer"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?
-----------------------------------------------------------------------------------

I am also trying to setup ImageMagick on 1and1. The admins are not very helpful (I guess this is as much of a service as you get for free). Can you let me know how you setup imagemagick on 1and1 servers.

thanks,

flyer
Title: wrong path after editing config
Post by: me_slayer on November 07, 2003, 06:55:10 AM
flyer, i can help you. before, that happens...make sure u've some client software for ssh access...search for a software called "Putty". It works well on windows system. Download it and access your SSH account. That information can be found by logging in through admin.1and1.com
After that refer to the documentation at this place....
http://www.photopost.com/magicknoroot-php.html
If you still have questions, post in this board, otherwise PM me.

Hope this helps
Title: ImageMagick on 1and1
Post by: flyer on November 07, 2003, 11:24:46 PM
me_slayer,

Your documentation was right on. I installed ImageMagic on 1and1 servers and tried it with coppermine, it works great.

Thanks a bunch for your help,

flyer
Title: Re: ImageMagick on 1and1
Post by: me_slayer on November 12, 2003, 07:01:26 AM
Quote from: "flyer"me_slayer,

Your documentation was right on. I installed ImageMagic on 1and1 servers and tried it with coppermine, it works great.

Thanks a bunch for your help,

flyer

glad that it worked  :)
Title: Back to the previous question with config.php
Post by: catbegemot on November 12, 2003, 08:42:37 PM
me_slayer

So how did you solve this problem. I'm going through same thing now and support is not returning my e-mails... I understand you had a better luck with them?
Title: Problem with config.php
Post by: catbegemot on November 12, 2003, 10:03:56 PM
Okay, I found the solution.
I have renamed config.php into confic.php, and there's just one place in theme.php that needs to be updated. Just do a search on 'config.php' and change it to whatever name there will be.

Sorry for all the buzz ;) My girlfriend is going to use it, so she became a little "impatient" and so did I :)
Title: wrong path after editing config
Post by: Joachim Müller on November 13, 2003, 08:03:45 AM
huh? catbegemot, can you explain the "confic"-issue in detail?

Thanks

GauGau
Title: confiC.php issue :)
Post by: catbegemot on November 13, 2003, 06:42:15 PM
gaugau
Sure,
the problem is that the hosting I'm using somehow configured in such a way that it prevents client to see config.php file. I don't know why. I have a feeling they don't know that either :)
The guy at the tech support confirmed that config.php is being blocked on a server level (that's why error 404 comes up so quickly - there's no time out) and suggested the change of config.php to something else. So I did change it to conf.php and it works for now.

If you want to - just for amusement - I can put config.php back to that host so you can see it for yourself.

Regards,
Vlad.
Title: wrong path after editing config
Post by: Joachim Müller on November 14, 2003, 12:56:04 AM
ah, I see, so this actually isn't a coppermine issue, but a webhosting issue then.
Settles it for me, thanks for the reply.

GauGau
Title: Don't worry, be happy
Post by: catbegemot on November 14, 2003, 04:33:22 PM
It's not a coppermine issue and it never was :)

The only think I have to say it that it's kind of stupid thing of the host to do since almost all the canned scripts I saw have config.php. And not all of them so nicely written that it's so easy to adopt for this host ;)

Guys, thanks for a good gallery.
Title: wrong path after editing config
Post by: me_slayer on November 15, 2003, 12:53:57 PM
sorry for not replying to ur post there. but, to tell u the truth i haven't still fixed the problem. i did try changing the file name, but had no luck with it. i'll try it again sometime...
thank you again !

gaugau ==> its not a coppermine issue  :D