ProsePoint Express: hosted newspaper website content management software

Re: Fatal error: Call to undefined function imagecache_presets() in C:\wamp\...profiles\prosepoint\prosepoint.profile.

  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_argument::init() should be compatible with views_handler::init(&$view, $options) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_argument.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_validate() should be compatible with views_handler::options_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter::options_submit() should be compatible with views_handler::options_submit($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter.inc on line 0.
  • strict warning: Declaration of views_handler_filter_node_status::operator_form() should be compatible with views_handler_filter::operator_form(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/modules/node/views_handler_filter_node_status.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_handler_filter_boolean_operator::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 0.
  • strict warning: Declaration of date_api_filter_handler::value_validate() should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/date/includes/date_api_filter_handler.inc on line 0.
  • strict warning: Non-static method view::load() should not be called statically in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/views.module on line 879.
  • strict warning: Declaration of views_plugin_row::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
  • strict warning: Declaration of views_plugin_row::options_submit() should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/prosepoint.org/bzr/public_html/profiles/prosepoint/modules/views/plugins/views_plugin_row.inc on line 0.
7 replies [Last post]
uclaradionews
User offline. Last seen 8 years 37 weeks ago. Offline
Joined: 22/03/2009
Posts:

Hello,

So I love PP, I've installed it successfully on my other server. However, that server is live so I'm doing some local work using WAMP's latest distribution, which includes latest Apache, PHP, SQL. I have:

a) Chance max_execution time to be 600 seconds to fix the usual bug w/ installing using WAMP

b) Enabled mod_rewrite in Apache to allow clean URLS.

Aside from the warning
Notice: Undefined index: q in C:\wamp\...\includes\path.inc on line 164

the installation has proceeded smoothly, until two points.

  • warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\uclaradionews\includes\mail.inc on line 193.
  • Unable to send e-mail. Please contact the site admin, if the problem persists.

At which point I can proceed. But when I choose to install a minimal site, or demo site, I get the error:

Fatal error: Call to undefined function imagecache_presets() in C:\wamp\...profiles\prosepoint\prosepoint.profile

on a white screen. On inspection of my php error logs, these are the same errors. No other errors in apache.

I've never heard of this error before... I created a new database and tried reinstalling from the beginning, reset WAMP, but this did not help.

beng
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 27/02/2009
Posts:
Need more information.

> So I love PP, I've installed it successfully on my other server.

Thanks :)

 

> a) Chance max_execution time to be 600 seconds to fix the usual bug w/ installing using WAMP
> b) Enabled mod_rewrite in Apache to allow clean URLS.

Agreed.

> Aside from the warning Notice: Undefined index: q in C:\wamp\...\includes\path.inc on line 164

Yes, you can ignore this warning.

 

> warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25

ProsePoint is notifying you it can't find a mailer program on your server. You might want to check your server setup (or perhaps it's supposed to be this way), but this is unrelated to your next point.

 

> Fatal error: Call to undefined function imagecache_presets() in C:\wamp\...profiles\prosepoint\prosepoint.profile

Now this, I can't explain yet. ProsePoint uses the imagecache module (which defines the function imagecache_presets()), but the imagecache module is already included in ProsePoint and should have been enabled.

Some things to check:

What is your PHP version?

What version of ProsePoint are you installing?

Did you add any Drupal modules to it? Or change any of the modules that came with ProsePoint?

Did you install this on a totally clean and empty database?

uclaradionews
User offline. Last seen 8 years 37 weeks ago. Offline
Joined: 22/03/2009
Posts:
Thanks for the reply-

Hi there-

I understand the previous points. Allow me to respond with the information, which may make the issue slightly more puzzling:

I am running PHP 5.2.9-1, the most recent, as well as .017, the most recent PP. I have not changed any of the PP files beyond making a copy of default.settings.php and renaming it. On each of my installs I have created a brand new database.

The only change I have made has been renaming the "Prosepoint-0.17" folder to "uclaradionews." However, upon attempting a clean install with a new database using the original "Prosepoint-0.17" I receive:

An error occurred. http://localhost/prosepoint-0.17/install.php?locale=&profile=prosepoint&... <br /> <b>Notice</b>: Undefined index: q in <b>C:\wamp\www\prosepoint-0.17\includes\path.inc</b> on line <b>164</b><br /> { "status": true, "percentage": 15, "message": "Remaining 45 of 53.\x3cbr/\x3eInstalled \x3cem\x3eMenu\x3c/em\x3e module." }

This occurs after I put in SQL data.

I appreciate the replies. I am going to attempt a few more installs on fresh databases.

EDIT: tried yet again, a few times. When I click "go to the error page" I get the configuration, and after putting in my configuration the same error occurs.

beng
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 27/02/2009
Posts:
Please set PHP error_reporting to E_ALL & ~E_NOTICE

Hi,

I have an idea. Can you check that your PHP error_reporting setting is E_ALL & ~E_NOTICE? (As per http://www.prosepoint.org/docs/php-requirements.html)

The warning message 'Notice: Undefined index: q in C:\wamp\...\includes\path.inc on line 164' you've been getting normally can (and should) be ignored, but I think your PHP is set up to report this message to the browser.

Either PHP should not be reporting this message (via error_reporting set to E_ALL & ~E_NOTICE, this is the preferred approach), or it should be reporting messages to the PHP log, not to the browser/screen.

During the installation process, ProsePoint uses ajax for the installation of modules, and when this innocuous warning message appears, it messes up the ajax and confuses the installation process.

uclaradionews
User offline. Last seen 8 years 37 weeks ago. Offline
Joined: 22/03/2009
Posts:
Hi there- Alright, I have

Hi there-

Alright, I have changed both my php.ini's to read "E_ALL & ~E_NOTICE" on the error_reporting line (it was set to E_ALL) before.

I did a reboot of WAMP, cleared my databases, cleared my old PP half-install, and unpackaged PP again. I created a new database, copied/renamed default.settings.php, and proceeded with the installation. Same series of errors occur.

Thanks a bunch for your help. I am puzzled too- imagecache, as you said, is already there and I haven't messed with it. My McAffee firewall is off, and my only firewall is Windows. I have a virus scanner in the background, but it only connects online for updates (no firewalls).

beng
User offline. Last seen 4 years 30 weeks ago. Offline
Joined: 27/02/2009
Posts:
I'm just as puzzled ...

as you are.

Can you double check your PHP error_reporting setting by creating a php file containing the single line

<?php phpinfo(); ?>

and viewing it from your web browser to see what your PHP configurations are?

The other idea (and this is only a stopgap workaround, if it works), is to comment out line 169 in .../profiles/prosepoint/modules/prosepoint.profile:

// imagecache_presets(true);

and see if that makes any difference.

If this does make your issue go away, then once you've successfully installed, you need to flush your imagecache caches.

uclaradionews
User offline. Last seen 8 years 37 weeks ago. Offline
Joined: 22/03/2009
Posts:
Hi Beng, Your help is so

Hi Beng,

Your help is so valuable- this is the type of help that makes me very comfortable switching our platform to prosepoint (we've been on Joomla- just doesn't cut it!).

WAMP has a php_info feature, fortunately. I have a value of "6143" for error_reporting. I will try the other method in just a little bit.