Advanced search  

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

Pages: [1] 2   Go Down

Author Topic: wrong path after editing config  (Read 12685 times)

0 Members and 1 Guest are viewing this topic.

gerdarene

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
wrong path after editing config
« 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é
Logged

jasendorf

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 350
    • http://www.338tharmyband.com
wrong path after editing config
« Reply #1 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?
Logged
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

gerdarene

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
wrong path after editing config
« Reply #2 on: October 27, 2003, 10:22:24 pm »

http://www.stellenchat.nl/coppermine and yes I can work with phpmyadmin

tnx for the reply
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
wrong path after editing config
« Reply #3 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
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
same problem here....
« Reply #4 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 http://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,  http://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.

-----------------------------------------------------------------------------------
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
wrong path after editing config
« Reply #5 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
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #6 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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
wrong path after editing config
« Reply #7 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
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #8 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
wrong path after editing config
« Reply #9 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
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #10 on: October 29, 2003, 06:37:49 pm »

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

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #11 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!  :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
wrong path after editing config
« Reply #12 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
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #13 on: October 30, 2003, 09:46:28 am »

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

thank you
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #14 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:
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #15 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
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #16 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
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
wrong path after editing config
« Reply #17 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 :(
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
wrong path after editing config
« Reply #18 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
Logged

me_slayer

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
wrong path after editing config
« Reply #19 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:
Logged
Pages: [1] 2   Go Up
 

Page created in 0.027 seconds with 18 queries.