Author Topic: Wired Fatal error: main()  (Read 3905 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Wired Fatal error: main()
« on: January 26, 2008, 09:13:59 PM »

i was trying to make a code to post the new images in VB

( coz i did integrate my 4images to the VB )

i only played in global.php

when i found that i cannot do it so i decided to put the backuped gelobal.php to the 4images root


i found that the same error still appearing !!

and the error is:

Code: [Select]
Warning: main(/home/alwasmy/public_html/143/image/includes/init.php) [function.main]: failed to open stream: No such file or directory in /home/alwasmy/public_html/143/image/global.php on line 20

Fatal error: main() [function.require]: Failed opening required '/home/alwasmy/public_html/143/image/includes/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/alwasmy/public_html/143/image/global.php on line 20

i went to the global and checked line 20 !!

found this:

Code: [Select]
// Start initialisation
require_once(CWD . '/includes/init.php');

required once O_o!!

help me guyz !!

English Please :@

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: Wired Fatal error: main()
« Reply #1 on: January 26, 2008, 10:17:06 PM »
Solved !

well, i re-upload member.php + golobal + details.php

and everything went fine

also i search for the error ( which i think its from VB )

and found this :
Quote
the session isn't being saved after you have chosen the system.

Sorry for wasting ur time guyz
English Please :@

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: Wired Fatal error: main()
« Reply #2 on: January 26, 2008, 10:22:06 PM »
If you have tried to solve much by itself.

Offline Mr_LovaLove

  • Full Member
  • ***
  • Posts: 233
  • Unkown
    • View Profile
Re: Wired Fatal error: main()
« Reply #3 on: January 27, 2008, 08:44:24 AM »
Well i tried alot :D


i spent about 3 hrs just tryin from where this error comes ! at same time

my site image was down !

i found that i add PIN MOD and the error comes from that MOD coz PIN MOD use session.php for 4images above 1.7.2

if u r saying code again <<<<<<<<<<<<<<< is newbie :D

hope this help ppl who has integrated 4images with VB
English Please :@