I've installed v4.0 on a Joomla 3.1 setup, and when I add images to the database via multiple add. I'm return with this error.
An error has occurred.
0 DateTime::__construct(): Failed to parse time string (jerror) at position 0 (j): The timezone could not be found in the database
Any ideas? I used Phoca Gallery for years never got an error like this.
0 DateTime::__construct() Error
-
kamshaft
- Phoca Newbie

- Posts: 3
- Joined: 22 Jun 2013, 20:49
0 DateTime::__construct() Error
Last edited by kamshaft on 28 Jun 2013, 17:49, edited 1 time in total.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 0 DateTime::__construct() Error
Hi, enable debug mode and php error reporting to get full error message - to know what is the problem.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
kamshaft
- Phoca Newbie

- Posts: 3
- Joined: 22 Jun 2013, 20:49
Re: 0 DateTime::__construct() Error
I've enabled the php errors.Jan wrote:Hi, enable debug mode and php error reporting to get full error message - to know what is the problem.
Jan
This is what I got...
Strict standards ...
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 0 DateTime::__construct() Error
Hi, unfortunatelly, there is no error listed (strict standards are warnings for developers about methods, no errors) - so really no idea what can be the problem 
But looked at the forum.joomla.org and found it is some common error (not sure if in Joomla! or on server) - try to see posts in joomla.org forum to see what can be the problem there
Jan
But looked at the forum.joomla.org and found it is some common error (not sure if in Joomla! or on server) - try to see posts in joomla.org forum to see what can be the problem there
Jan
If you find Phoca extensions useful, please support the project
-
kamshaft
- Phoca Newbie

- Posts: 3
- Joined: 22 Jun 2013, 20:49
Re: 0 DateTime::__construct() Error
Found the solution. It's an ownership issue, phoca gallery is owned by apache, if you change that, it generates the error.
Just need to leave the ownerships, then you're good to go.
Just need to leave the ownerships, then you're good to go.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: 0 DateTime::__construct() Error
Ok
If you find Phoca extensions useful, please support the project
-
angel_leonardo1
- Phoca Newbie

- Posts: 1
- Joined: 28 Mar 2014, 01:38
Re: 0 DateTime::__construct() Error
Hi. i have the same problem. i`m working with joomla 3.1.1 and this is the error message:
" 0 DateTime::__construct(): Failed to parse time string (jerror) at position 0 (j): The timezone could not be found in the database"
how doy you solved this issue???
Can you give some information about how to fix it???
thaks a lot.
" 0 DateTime::__construct(): Failed to parse time string (jerror) at position 0 (j): The timezone could not be found in the database"
how doy you solved this issue???
Can you give some information about how to fix it???
thaks a lot.