DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • October 18, 2018, 08:48:08 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: non-object error from source.php  (Read 2698 times)
0 Members and 1 Guest are viewing this topic.
Nightborn
Guest
« on: November 12, 2005, 07:45:14 AM »

Code:
[client xx.xxx.xx.xxx] PHP Fatal error:  Call to a member function on a non-object in /mnt/hda7/cust/demonstone.org/lotgd/web/htdocs/source.php on line 109, referer: http://lotgd.demonstone.org/village.php

this error occurs in this line:

Code:
while (false !== ($entry = $d->read())) {

and I don't know why... this never occurred before, but not it's on a new dedicated server where 0.97 is running currently, yet 1.0.5 is having problems. Any ideas?
Logged
Kendaer
Guest
« Reply #1 on: November 12, 2005, 01:29:00 PM »

Welll the *error* means it cannot read the directory it's trying to read.

However, I cannot explain why that would be the case.
I had broken the source.php code in 1.0.4, but the 1.0.5 version fixed that.  Please make sure you are using the 1.0.5 version of the code.
Logged
Nightborn
Guest
« Reply #2 on: November 12, 2005, 01:46:22 PM »

thanks, the little line with subdir helped somehow Smiley
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Please take the time to read the FAQ and browse the DragonPedia

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
55 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search