dropmachine.com 0 Posted August 9, 2007 So, two questions about newsdesk 1.49 First, is it possible to have articles show up on a page sorted by category? Newsdesk will let me make categories, but I am not sure how I get articles fromt he categories to appear on different pages (id, News, sales, press....) Second, any idea what this error is? Parse error: parse error, unexpected '{' in /homepages/9/d180096301/htdocs/07/admin/newsdesk.php on line 16 thanks in advance. Share this post Link to post Share on other sites
gregy 1 Posted August 18, 2007 i was also asking about categories in other topic but i received no answer. I would also need these categories .. and in addition, a code to display different categories on different places on site ... Share this post Link to post Share on other sites
terminalcity 0 Posted August 21, 2007 So, two questions about newsdesk 1.49First, is it possible to have articles show up on a page sorted by category? Newsdesk will let me make categories, but I am not sure how I get articles fromt he categories to appear on different pages (id, News, sales, press....) Second, any idea what this error is? Parse error: parse error, unexpected '{' in /homepages/9/d180096301/htdocs/07/admin/newsdesk.php on line 16 thanks in advance. I'm having the same problem.. anyone have an answer? thanks D Share this post Link to post Share on other sites
terminalcity 0 Posted August 21, 2007 Just to answer my own question.... the line 16 parse error seems to happen if your server is still running PHP4. The try/catch loop that starts on line 16 needs PHP5. To make it work on PHP4, delete these lines from admin/newsdesk.php : try { if (file_exists($filename)) unlink($filename); } catch(Exception $e) { $filename=''; } Works fine after that. Share this post Link to post Share on other sites