dropmachine.com Posted August 9, 2007 Share 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. Quote Link to comment Share on other sites More sharing options...
gregy Posted August 18, 2007 Share 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 ... Quote Link to comment Share on other sites More sharing options...
terminalcity Posted August 21, 2007 Share 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 Quote Link to comment Share on other sites More sharing options...
terminalcity Posted August 21, 2007 Share 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.