Page 1 of 1

Class 'parse_message' not found in C:\xampp\htdocs\Forum\por

Posted: 30. January 2010 11:38
by thepips
Your Portal Version: 1.0.5
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.arvclub.co.uk

What have you done before the problem was there?
Upgraded to PHPBB v3.06
Upgraded to v1.05 of portal

I'm now getting this error message Class 'parse_message' not found in C:\xampp\htdocs\Forum\portal\block\welcome.php on line 21

This is on my local development system and not the live site


What have you already tryed to solve the problem?
I've rolled back to the previous version and started again. Checking each step very carefully but got exactly the same result

Description and Message
Sorry about the double post, I accidentally pressed return :lol:

I do have a number of mods but I'm thinking this might be related to moving the portal.php to the root and making it the default. I modifed the install instructions for functions.php to this
'U_PORTAL' => (isset($portal_config['portal_enable']) && $portal_config['portal_enable'] == true) ? append_sid("/portal.$phpEx") : '',


Any suggestions as to where I should look?

Regards
Doug

Re: Class 'parse_message' not found in C:\xampp\htdocs\Forum\por

Posted: 30. January 2010 12:14
by Marc
Yes, make sure you have the up-to-date portal.php and also make sure your includes/message_parser.php is existing and not damaged. Can you post new topics in your development forum without getting errors?

Re: Class 'parse_message' not found in C:\xampp\htdocs\Forum\por

Posted: 30. January 2010 12:27
by thepips
Hi Marc,

Everything to do with the forum is working fine, It's just the portal reporting the error. I'm sure it must have something to do with the portal being moved to root so I've just done another installation and left the portal in the Forum sub-folder. Sure enough, it works (after a fashion). So now, to do some detective work to find out how to get it working in root.

Regards
Doug

Re: Class 'parse_message' not found in C:\xampp\htdocs\Forum\por

Posted: 30. January 2010 12:48
by Marc
You have to change the phpbb_root_path in portal.php if you move portal.php:

Code: Select all

$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
 

Re: Class 'parse_message' not found in C:\xampp\htdocs\Forum\por

Posted: 30. January 2010 12:59
by thepips
You just beat me to it! I had missed that. Now that it's back in I can start investigating the other mods.

Many thanks for your help

Regards
Doug