Please feel free to delete this posting if it is unhelpful - this is my first issue with drupal, I think.

I have had numerous attempts at installing aGov. Single user, multiple user etc. On each occasion, many of the images in the basic install do not appear (for example, the slide show images). Directories are also not created for these images. If I go into the dir structure and create the directories, and download and slightly rename the images from the http://demo.agov.com.au site, using the image urls from the image-less placeholders, I can get the slideshow to work, but again on the 'About us' page, the large Parliament image is also missing. And there are many others also. I have tried to delete and upload new images. I think they are uploading OK, but it would appear that the code is not creating urls for the images that represent their actual positions.

But of course, I could have made some basic error that is causing all these problems.

Thanks for your work on this project.
Andrew

Comments

kim.pepper’s picture

Hi Andrew,

Did you install the 'Example Content' when going through the installation wizard?

If so, did you get any errors about file permissions? All of these directories will get created for you on install, so you shouldn't have to do anything manually.

My only suggestion is to check the standard Drupal install instructions and ensure you have permissions set correctly. http://drupal.org/documentation/install

Cheers,

Kim

abp’s picture

Hi Kim
I installed the 'Example Content', and didn't get any errors at all last time around, though at other times, I have received the following:

Fatal error: Call to undefined method DateObject::getTimestamp() in /home/bb/public_html/profiles/agov/modules/features_content/agov_events/agov_events.module on line 96

Don't worry about it if no-one else is having these problems - I'll try and reinstall it again a few times and see if anything comes out in the wash...

I really like what you've done. Am I correct that this is free to use?
And how close to production standard is this? I'm hoping to use it in a church situation.

Kind regards
Andrew

kim.pepper’s picture

Is it possible you had an error on the initial install?

Check your php.ini file (usually under /etc/php.ini) to see if your memory settings are enough. The default is too low.

We recommend php_memory_limit = 256M

I really like what you've done. Am I correct that this is free to use?

Yes! It is Drupal, so has the same license.

And how close to production standard is this? I'm hoping to use it in a church situation

It's targeted to government departments, but there is nothing stopping you using it for whatever you like.

Kim

abp’s picture

Hi Kim

I don't think it's memory:

(php.ini)

[PHP]

extension=pdo.so
extension=pdo_mysql.so

max_execution_time = 120 ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
memory_limit = 1024M ; Maximum amount of memory a script may consume (8MB)

; End:

Installation went fine until example content. This completed, I think, to 100%, and then as follows:

(http://thirds.biz/install.php?profile=agov&locale=en)

Fatal error: Call to undefined method DateObject::getTimestamp() in /home/th/public_html/profiles/agov/modules/features_content/agov_events/agov_events.module on line 96

Then open up the home page: (http://thirds.biz/)

Initial message on home page, with other standard home page data:
Created a new bean "About Us" of type basic_content
Created a new bean "Footer copyright" of type basic_content
Created a new bean "News and Media Intro" of type image_and_text
Created a new bean "Current News" of type image_and_text
Created a new bean "Archived News" of type image_and_text
Created a new bean "Media Releases" of type image_and_text
Created a new bean "Events" of type image_and_text
Created a new bean "Blog" of type image_and_text
Example content installed.
Sitemap has been rebuilt.

But images, slideshow and others, not all there. Just 2 of the thumbnail images.

(I am simply creating the database, and then using agov-7.x-1.0-beta10-core.tar.gz, extracted with cpanel and copied from the extracted folder into public_html.)

Again, don't waste time with me if you think I'm making a hash on my side - I just include this in case it aids development.

Kind regards
Andrew

abp’s picture

Hi Kim

FYI, just installed:
agov-7.x-1.0-beta9-core.tar.gz

and received the same error on:
http://thirds.biz/install.php?profile=agov&locale=en

"Fatal error: Call to undefined method DateObject::getTimestamp() in /home/th/public_html/profiles/agov/modules/features_content/agov_events/agov_events.module on line 96".

Again, content installed to 100%.

I think there is a spelling mistake (default?) when it completes the content install.

I'm wondering if the error is not due to the PHP version - if "getTimestamp()" is only for the latest PHP versions? I'm not sure if this has any effect on the install.

Kind regards
Andrew

xtfer’s picture

Hi Andrew,

What PHP version are you using? getTimestamp() is only in PHP 5.3 and above.

abp’s picture

Hi there - sorry for the delay - I am still trying to get email messages of replies etc on Drupal.org.

I am using:
PHP Version 5.3.24
MySQL Client API version 5.5.31

Kind regards
Andrew