Blog include syntax / error?

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
brewster66
Posts: 11
Joined: Thu 22. Jun 2006, 20:57

Blog include syntax / error?

Post by brewster66 »

I have installed the new shinypixel blog but am getting an include error I think.

I have the file: blog.module.php -- installed in the path:

Code: Select all

/home/mywebsite/public_html/wcms/phpwcms_template/inc_script/frontend_render/blog.module.php 
but I get these errors when I try to preview my blog page:

Code: Select all

Warning: main(include/inc_module/mod_blogs/inc_lib/functions.general.inc.php): failed to open stream: No such file or directory in /home/mywebsite/public_html/wcms/phpwcms_template/inc_script/frontend_render/blog.module.php on line 5

Code: Select all

Warning: main(): Failed opening 'include/inc_module/mod_blogs/inc_lib/functions.general.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mywebsite/public_html/wcms/phpwcms_template/inc_script/frontend_render/blog.module.php on line 5

Code: Select all

Fatal error: Call to undefined function: db_get_blogid() in /home/mywebsite/public_html/wcms/phpwcms_template/inc_script/frontend_render/blog.module.php on line 28
-- and then the same errors for line 6

Also, I have made the blog title name change so I believe my replacement tag to be correct.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

I have not tried this module, and but it may be that he didn't account for those who place their phpWCMS in a subdirectory of their root. Maybe you could try adding something like the below in front of the include(s), as an experiment:

Code: Select all

$phpwcms["root"]."/".
brewster66
Posts: 11
Joined: Thu 22. Jun 2006, 20:57

Post by brewster66 »

I have solved the above path errors -- it seems I had some of the files upload to the wrong place.

But now the blog does not show up. I have the replacement tag listed in a WYSIWYG HTML content part and I have successfully added a blog entry in the model area of the admin area.
Post Reply