Welcome, Guest
Username Password: Remember me

Missing Argument for Dump File
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Missing Argument for Dump File

Missing Argument for Dump File 07 Aug 2010 08:49 #2402

My Joomla error logs are filled with these. It happens several times a day and always has these 7 errors for each occurrence. I've no idea what this means or how to fix it! Any help would be much appreciated.

Thanks,

Nathaniel

[07-Aug-2010 06:24:20] PHP Warning:  Missing argument 1 for Dump_File::Dump_File(), called in **site root**/components/com_biblestudy/controllers/studieslist.php on line 25 and defined in **site root**/components/com_biblestudy/class.biblestudydownload.php on line 7
[07-Aug-2010 06:24:20] PHP Warning: Missing argument 2 for Dump_File::download(), called in **site root**/components/com_biblestudy/controllers/studieslist.php on line 26 and defined in **site root**/components/com_biblestudy/class.biblestudydownload.php on line 11
[07-Aug-2010 06:24:20] PHP Warning: Missing argument 3 for Dump_File::download(), called in **site root**/components/com_biblestudy/controllers/studieslist.php on line 26 and defined in **site root**/components/com_biblestudy/class.biblestudydownload.php on line 11
[07-Aug-2010 06:24:20] PHP Warning: Missing argument 4 for Dump_File::download(), called in **site root**/components/com_biblestudy/controllers/studieslist.php on line 26 and defined in **site root**/components/com_biblestudy/class.biblestudydownload.php on line 11
[07-Aug-2010 06:24:20] PHP Warning: Missing argument 5 for Dump_File::download(), called in **site root**/components/com_biblestudy/controllers/studieslist.php on line 26 and defined in **site root**/components/com_biblestudy/class.biblestudydownload.php on line 11
[07-Aug-2010 06:24:20] PHP Warning: Missing argument 6 for Dump_File::download(), called in **site root**/components/com_biblestudy/controllers/studieslist.php on line 26 and defined in **site root**/components/com_biblestudy/class.biblestudydownload.php on line 11
[07-Aug-2010 06:24:20] PHP Warning: Missing argument 7 for Dump_File::download(), called in **site root**/components/com_biblestudy/controllers/studieslist.php on line 26 and defined in **site root**/components/com_biblestudy/class.biblestudydownload.php on line 11
 

Re:Missing Argument for Dump File 07 Aug 2010 09:22 #2403

  • Eugen
  • OFFLINE
  • Moderator
  • Posts: 147
Remove the parameters from the "download()" function, and also remove the "Dump_File($id)" constructor. I didn't notice any methods that pass parameters to them, and the downloads work fine after the removal of the parameters.

Tom will have to confirm this change, however...

Attached is the modified "class.biblestudydownload.php" file, with the changes already applied
Last Edit: 07 Aug 2010 09:34 by Eugen.
  • Page:
  • 1
Time to create page: 0.57 seconds