Welcome, Guest
Username Password: Remember me

filesize() error message
(1 viewing) (1) Guest
If you need assistance in using JBS version 7.x or above, please be as complete as possible. Also be sure to look at the documentation site first, as it is constantly growing: www.joomlabiblestudy.org/jbsdocs
  • Page:
  • 1

TOPIC: filesize() error message

filesize() error message 20 Jan 2012 10:17 #3079

Hi, just upgrading to Joomla 1.7 on a myhosting.com site, php5.2.9; Apahce 2.2.
JBS 7.0.1 seems to have imported well, but I get an error message viewing the Studies list layout:
Warning: filesize(): stat failed for textfile24.png in /usr/. . .htdocs/components/com_biblestudy/lib/biblestudy.images.class.php
I'm guessing this is a permissions issue: I'm running with ftp enabled, and most of the directories are owned by the FTP user. only the caches, logs, and tmp are owned by apache.

I haven't been able to clear this up, as I'm a bit of a newb with joomla.
the joomla 1.5 (live) site is www.rocklandchurch.ca, the 1.7 (where the error occurs)
is wwww.rocklandchurch.ca/joomla
Thanks in advance

Re: filesize() error message 20 Jan 2012 10:46 #3080

Sorry, made progress as soon as I posted. (was having trouble using this web page in Chrome, BTW)now that I see the documentation, saving the default template movedme on to the next set of error messages
now its having trouble with two instances of this line:
foreach ($mediaids as $media)
in biblestudy.media.class.php
I guess I'm not stuck yet. so I'll look at it again when I get back from my other job.

Re: filesize() error message 20 Jan 2012 10:47 #3081

  • Tom
  • OFFLINE
  • Moderator
  • Posts: 316
THis is the error I get when I go to your studieslist page:

Warning: Invalid argument supplied for foreach() in /usr/local/pem/vhosts/101423/webspace/siteapps/18441/htdocs/components/com_biblestudy/lib/biblestudy.media.class.php on line 55 Warning: Invalid argument supplied for foreach() in /usr/local/pem/vhosts/101423/webspace/siteapps/18441/htdocs/components/com_biblestudy/lib/biblestudy.media.class.php on line 121

Line 55 involves getting the image for the media file. On the test entry you may have created a media entry but not chosen an image to display.

The second error it seems is that you have in the media record to show the filesize below the media file but did not enter a file size.

I'm not seeing the errors you mention. In fact I can see the images for the rest of the studies. Maybe unpublish that first study?

Re: filesize() error message 20 Jan 2012 11:05 #3082

Goomh Tom I just realized that the test study I made resultedin the new errors. so at the moment I've got an error free display
Now I need to work on getting the links to go anywhere. (like clicking on the teacher. But now that I've got basic functionality, I can go over the documentation more slowly.
but ATM some kids will be standign out in the cold if their school bus driver doesn't get off the computer.
Thanks for the quick reply.
  • Page:
  • 1
Time to create page: 0.75 seconds