Strider Posted January 9, 2010 Report Posted January 9, 2010 I don't know how or what caused this, the news items are no longer showing up, http://globalaircargovirtual.org check for yourself, i tried to install the examcenter pluggin and thought that it might have had something to do with it, but obviously not, as i have removed the links to see if it was the links causing the problem. Cheers Dan C Quote
Administrators simpilot Posted January 9, 2010 Administrators Report Posted January 9, 2010 Can you post the code that you are using to call the news on that page. Quote
Strider Posted January 9, 2010 Author Report Posted January 9, 2010 it is the normal code that nabeel put in in the first place, nothing new. Cheers Dan C Quote
Administrators Nabeel Posted January 9, 2010 Administrators Report Posted January 9, 2010 Enabled DEBUG_LOG and access your homepage, see if there are any error sin /core/logs/log.txt Quote
Administrators simpilot Posted January 10, 2010 Administrators Report Posted January 10, 2010 Looking at the source from your page all I see in what should be the news is <p></p> - without you posting any of the code from the page I would guess that there is something around the news call that has been changed, maybe inadvertently. maybe even the (5) to (0), or a missing php tag in the news template that holds the news layout. I think I would start looking in the news template first as it looks like the call is being made due to the fact you are getting the open and close paragraph tags. Quote
AFVA | Mitchell Posted January 10, 2010 Report Posted January 10, 2010 Also check your phpvms_news SQL table.....also try reposting a new news topic. Quote
Strider Posted January 10, 2010 Author Report Posted January 10, 2010 <p><?php // Show the News module, call the function ShowNewsFront // This is in the modules/Frontpage folder News::ShowNewsFront(5); ?></p> that is the code from the frontpage_main.tpl file. I did not edit or change anything in the code. Cheers Dan C Quote
Administrators simpilot Posted January 10, 2010 Administrators Report Posted January 10, 2010 try -> <?php MainController::Run('News', 'ShowNewsFront', 5); ?> Quote
Strider Posted January 10, 2010 Author Report Posted January 10, 2010 Thanks, that did the trick, only god knows why the other code stopped working. Cheers Dan C Quote
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.