Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2010-04-25 02:53:30

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Snow Leopard upgrade causing problems with local dev sites?

geoff777 wrote:

Hi I’ve just set up XAAMP on Windows XP

Everything went smoothly but I’m getting the same Date/Time error message.

Any ideas anybody?

See here.

Offline

#14 2010-04-26 06:19:55

biggles
Member
Registered: 2007-10-11
Posts: 24

Re: Snow Leopard upgrade causing problems with local dev sites?

@jm/hakjoon – many thanks for your advice!

@jm I amended the lines as you suggested and now all is well with the world! However, Dignostics is still flagging up:-

Image directory is not writable: /Users/stevekirkendall/Sites/txp/images
File directory path is not writable: /Users/stevekirkendall/Sites/txp/index.php

I’ve tried sorting this out with chmod 755 in Terminal, but to no avail. Do I need to try chmod 777 (which I thought wasn’t very good security-wise, even tho’ this is only a local install) or is there anything else I need to do?

Offline

#15 2010-04-26 07:21:21

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Snow Leopard upgrade causing problems with local dev sites?

biggles wrote:

@jm I amended the lines as you suggested and now all is well with the world! However, Dignostics is still flagging up:-

Image directory is not writable: /Users/stevekirkendall/Sites/txp/images
File directory path is not writable: /Users/stevekirkendall/Sites/txp/index.php

I’ve tried sorting this out with chmod 755 in Terminal, but to no avail. Do I need to try chmod 777 (which I thought wasn’t very good security-wise, even tho’ this is only a local install) or is there anything else I need to do?

777 doesn’t matter if it’s on your local install:

chmod 777 ~/Sites/txp/{images,files}

But, if you want to do things properly, you need to give the Apache user (_www) permission:

sudo chown -R _www:_www ~/Sites/txp/{images,files}

Offline

#16 2010-04-26 08:51:10

biggles
Member
Registered: 2007-10-11
Posts: 24

Re: Snow Leopard upgrade causing problems with local dev sites?

Many thanks jm! It’s now working – I achieved this via 777.

Dumb question alert! As I am a fan of doing things properly, can you undo 777 and then give the Apache server permission as per your last suggestion?

Offline

#17 2010-04-26 08:53:15

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Snow Leopard upgrade causing problems with local dev sites?

No problem. “Undo”:

chmod 755 ~/Sites/txp/{images,files}

Also, while you’re in the terminal, don’t forget there is no “undo” for rm…unless you alias it to some move-to-trash function.

Last edited by jm (2010-04-26 08:54:13)

Offline

#18 2010-04-26 11:54:14

biggles
Member
Registered: 2007-10-11
Posts: 24

Re: Snow Leopard upgrade causing problems with local dev sites?

jm, thank you so much for your help and advice – I raise my hat to you, sir!

Offline

#19 2010-10-15 18:23:39

Germaris
Member
From: Montreal, QC Canada
Registered: 2005-11-12
Posts: 44
Website

Re: Snow Leopard upgrade causing problems with local dev sites?

I’m stuck with this ?@!##$ error: “Warning: getdate()…”
I run my own server running Mac OS X 10.6.4 with MacPorts.
I just updated from 4.0.8 to 4.2 and tada! I get almost a page of repetitive warnings (in some tabs like “links”, “comments”, etc)

Opened in BBEdit the mentioned .php files, went to the specified lines but don’t know how to make the warning suggested modifications.

Does somebody could help me?

Many thanks in advance!
Regards

Gerard


If destiny is against us, just too bad for it!

Offline

#20 2010-10-16 21:11:46

Germaris
Member
From: Montreal, QC Canada
Registered: 2005-11-12
Posts: 44
Website

Re: Snow Leopard upgrade causing problems with local dev sites?

Just found the solution.

VERY SIMPLE:

In php.ini, uncomment line 996
date.timezone = “your time zone”

(Your can find the correct denomination of your time zone at:
http://php.net/manual/en/timezones.php)

This little operation makes all the date related warnings disappear.
All diagnostics are A-OK

Enjoy!


If destiny is against us, just too bad for it!

Offline

Board footer

Powered by FluxBB