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]   Go Down

Author Topic: [Solved]: Can't/won't create log file  (Read 2868 times)

0 Members and 1 Guest are viewing this topic.

hodograph

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
[Solved]: Can't/won't create log file
« on: March 14, 2008, 08:53:14 pm »

Running cpg 1.4.10.

In config-> logging and statistics I've turned on all logs.  In fact, I did this nearly a month ago.

If logs, are being generated (I suspect they're not) I can't seem to find them.  Clicking "view logs" from that same location returns "No Logs Created".  Access from the "admin tools" button returns the same result.

Clearly I'm not doing something correctly...any help would be appreciated.  Searched the forums and didn't find what I was looking for--if my query needs "refinement", I accept the help!  ;D
« Last Edit: March 15, 2008, 11:32:52 pm by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Can't/won't create log file
« Reply #1 on: March 14, 2008, 09:01:44 pm »

Is the logs directory writable?
Logged

hodograph

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Can't/won't create log file
« Reply #2 on: March 14, 2008, 09:17:09 pm »

The logs directory permissions are set to 755
Logged

Nibbler

  • Guest
Re: Can't/won't create log file
« Reply #3 on: March 14, 2008, 09:28:47 pm »

That doesn't answer the question.
Logged

hodograph

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Can't/won't create log file
« Reply #4 on: March 15, 2008, 01:49:09 am »

Sorry 'bout that.  I thought I was answering your question.  Thanks for taking the time to reply.

Lemme try this.  As the webadmin user, I can enter the logs directory on my webserver, create a new text file, and edit it.

I don't know if the permissions on that directory are set to allow the cpg process that creates the log file to write there however. 

Let me know if that's a better answer or not  :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Can't/won't create log file
« Reply #5 on: March 15, 2008, 09:26:28 am »

We can't tell you what level of permissions is needed on your webserver. It is entirely up to the server admin (i.e. the webhost) to determine what privieleges are needed. Read the permission section of the docs to try to figure out. If you can't, do as suggested there as well: ask your webhost for support. The script (i.e. Coppermine) needs write permissions on the logs folder, so you have to ask your webhost what permission level (CHMOD) is needed to give the user the webserver runs under write permissions.
Logged

hodograph

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Can't/won't create log file
« Reply #6 on: March 15, 2008, 10:41:05 pm »

Thanks for your reply.

I contacted the webhost today.  They replied that I have the permissions set correctly (755) on the logs directory.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Can't/won't create log file
« Reply #7 on: March 15, 2008, 11:33:32 pm »

OK, great.

Running cpg 1.4.10.
Time to upgrade then!
Logged

hodograph

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [Solved]: Can't/won't create log file
« Reply #8 on: March 15, 2008, 11:37:23 pm »

heh heh...somehow I thought that might come up.   ;D

I didn't make the original install, and I'm sure there's a whole lotta RTFM to be had, but can you give me a general sense for how long a "typical" upgrade might take?  Am I in for minutes, hours, or days?

Thanks in advance for your help.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Can't/won't create log file
« Reply #9 on: March 15, 2008, 11:47:12 pm »

Without having to read the docs? Less than 5 minutes. The backup may take another 5 minutes or so that you're suppossed to make. The corresponding section in the docs needs another 5 minutes to read. This sums up to 15 minutes. And yes, there is a section in the docs that you're suppossed to read (with or without the "f" in RTFM). That means: don't expect an extra tutorial just because you're too lazy to read the docs. I'm not ready to spoon-feed you. Your initial issue that you reported could have been solved if you would have done as suggested in the docs without the need to ask for advice here. Asking another question on this thread although we have a strict "one question per thread" policy that you agreed to respect when signing up is not a bright move. What can I say? RTFM!
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 19 queries.