MainController.php

Hi,

I am having a bit of trouble with my VA, when I go to load up the schedules page it comes up with this error -

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘Schedules::view’ was given in /home/bmavirtu/public_html/core/classes/MainController.class.php on line 218

We have tryed re-putting on the php file and there is no change.

Have we done somthing wrong?

Jamie

do you create them in your admin?

What??

I dont get what u mean

What??

I dont get what u mean

Truemo9 did you read carefuly that codes that i posted? read carefuly i told you in the other post.

The code is in the wrong place, copy the original templates from the core templates folder and make the edits again to the effected templates.

Ive copied and pasted all of the old file, but im still getting the error

OK so the easiest thing to do is backup your local config file and redown/upload all the files again and replace your local config back once your done.

After that run the checkinstall.php and checkdb.php from the install folder.

All your skin edits will not be effected provided you have followed the guide about placing tpl’s in to your own skins folder.

Checking file hashes for corrupt or mismatched files

[Checksum failed] /core/templates/schedule_results.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/contact_form.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/schedule_bids.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/schedule_briefing.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/schedule_searchform.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/core_navigation.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/templates/schedule_details.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/modules/Schedules/Schedules.php did not match, possibly corrupt or out of date

[Checksum failed] /admin/templates/sidebar_schedules.tpl did not match, possibly corrupt or out of date

which version are you on?

Just redownload and replace the files in error

Mark, Would you come on msn?. so i would give you some details about this?

give me 5 mate im just having my tea

Right Roger, ill explain why when u come online