Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Problem with show news
Gipi2005
Posted on 16 Mar 2011, 21:27:47

Access: Member
Total Posts: 2
Joined: 2011-03-16

Hi
I have installed the news script and all works aprt of the error appear when I try to view the News in the " adding news " and when I try to display in the web.
Can you please help?
Thanks

Giuliano

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/htdocs/www.atleticapbm.it/home/news/simple_html_dom.php on line 84
#3355
Chris
Posted on 17 Mar 2011, 06:59:21

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

I think that's a problem with the version of PHP your server has installed. You can check which version your server has installed by creating a new file called phpinfo.php, inside it put this code

Code:
<?php
phpinfo
();
?>


For the script to function correctly PHP5+ is required.
#3356
Gipi2005
Posted on 18 Mar 2011, 08:21:29

Access: Member
Total Posts: 2
Joined: 2011-03-16

Hi
Thanks for your answer.
I have chaecked and site report : PHP Version 4.4.9
There is any possibility to use your script into this version?
Thanks
Ciao

Giuliano :wink:
#3362
Chris
Posted on 18 Mar 2011, 10:26:16

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

If you edit bbparser.php, on line 65~ you'll see this

Code:
require_once(ABSPATH . '/simple_html_dom.php');


Comment that line out by placing a # infront of it like so

Code:
require_once(ABSPATH . '/simple_html_dom.php');


Doing this means you won't be able to use the automatic image resizing but everything else should work.
#3363
Network-13.com © 2013