Please help correct Fatal error: require_once() [function.require] Please help correct Fatal error: require_once() [function.require]
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Please help correct Fatal error: require_once() [function.require]

Started by Katya, November 08, 2008, 08:40:29 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Katya

Guys, please help me, i open now my gallery and see it:

Warning: require_once(include/debugger.inc.php) [function.require-once]: failed to open stream: No such file or directory in /usr/home/vshosts/hosts/u3100/eva-longoria.net.ru/www/gallery/include/init.inc.php on line 26

Fatal error: require_once() [function.require]: Failed opening required 'include/debugger.inc.php' (include_path='/usr/home/vshost/adv/') in /usr/home/vshosts/hosts/u3100/eva-longoria.net.ru/www/gallery/include/init.inc.php on line 26

I can't view pictures and my gallery not working. How i can fix it?

Nibbler

You need to fix your include_path so that it includes a dot. Talk to your webshost.

Katya


Katya

Can i aks - this problem really bad and my files in a gallery saving or not? My friend say me what my gallery be not working anymore

Nibbler

Your gallery is probably fine; it's just a PHP configuration problem.

Katya


Katya

Maybe i need open gallery/install.php and install my gallery again with new MySQL table prefix or it's delete my old files in a gallery?

Katya

Quote from: Katya on November 08, 2008, 09:28:29 PM
Maybe i need open gallery/install.php and install my gallery again with new MySQL table prefix or it's delete my old files in a gallery?

So, any idea?


Joachim Müller

Quote from: Katya on November 08, 2008, 09:28:29 PM
Maybe i need open gallery/install.php and install my gallery again with new MySQL table prefix or it's delete my old files in a gallery?
OMG, don't do that! Do as Nibbler suggested and talk to your webhost. No, you can not fix that on your own unless you're the admin of the webserver. Stop trying to fiddle with unrelated things. Nibbler told you what needs to be done in his initial reply. All your replies to that are just nonsense.

Katya

Thank for help, but my host today answer me and my gallery working now - but ALL PICTURES, COMMENTS and ALBUMS DELETE!!!!!!!!!!!!! I so upset, know i don't know what i do.

Katya

I can open my gallery - http://www.eva-longoria.net.ru/gallery/index.php but maybe anyone can help me back my albums, pictures, etc or it's not imposible? I check my phpMyAdmin and see my coppermine category, also in FTP ALL files saved. Can i back them to the gallery? PLEASE HELP!!!

Katya

Quote from: Katya on November 10, 2008, 11:14:51 AM
I can open my gallery - http://www.eva-longoria.net.ru/gallery/index.php but maybe anyone can help me back my albums, pictures, etc or it's not imposible? I check my phpMyAdmin and see my coppermine category, also in FTP ALL files saved. Can i back them to the gallery? PLEASE HELP!!!

guys, please - any help!!!

Nibbler

Ask your host what they did. If they did this to your gallery they should fix it or restore from a backup.

Katya

Quote from: Nibbler on November 10, 2008, 02:18:45 PM
Ask your host what they did. If they did this to your gallery they should fix it or restore from a backup.

They say what them don't know what happened. Also how gallery can be fix if all albums and pictures deletes.
I don't know, nobody can't help me. I can do something in phpMyAdmin?

Katya

Also this messages i see in my gallery today:

USER:
------------------
Array
(
   [ID] => 00d82e7714c28fdbe9018c7d21d73e3c
   [am] => 1
   [lang] => russian
   [lap] => 2
   [liv] => Array
       (
           [0] => 13881
           [1] => 13882
           [2] => 13919
           [3] => 13968
           [4] => 1899
       )

)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 0
   [user_name] => Guest
   [groups] => Array
       (
           [0] => 3
       )

   [group_quota] => 0
   [can_rate_pictures] => 1
   [can_send_ecards] => 0
   [can_post_comments] => 0
   [can_upload_pictures] => 0
   [can_create_albums] => 0
   [pub_upl_need_approval] => 1
   [priv_upl_need_approval] => 1
   [upload_form_config] => 0
   [num_file_upload] => 5
   [num_URI_upload] => 3
   [custom_user_upload] => 0
   [disk_max] => 0
   [disk_min] => 0
   [ufc_max] => 0
   [ufc_min] => 0
   [has_admin_access] => 0
   [group_name] => Anonymous
   [can_see_all_albums] => 0
   [group_id] => 3
)

==========================
Queries:
------------------
Array
(
   [0] => SELECT extension, mime, content, player FROM cpg1410_filetypes; (0.085s)
   [1] => select * from cpg1410_plugins order by priority asc; (0.042s)
   [2] => delete from `eva_longoria_net_ru`.cpg1410_sessions where time<1226308498 and remember=0; (0.012s)
   [3] => delete from `eva_longoria_net_ru`.cpg1410_sessions where time<1225102498; (0.009s)
   [4] => select user_id from `eva_longoria_net_ru`.cpg1410_sessions where session_id=md5("f385e96a0c9aceddb40e261319e218853f2cd9fd325f0ba894c712bc638941c6"); (0.001s)
   [5] => select user_id as id, user_password as password from `eva_longoria_net_ru`.cpg1410_users where user_id=0 (0.001s)
   [6] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg1410_usergroups WHERE group_id in (3) (0s)
   [7] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 3 (0s)
   [8] => update `eva_longoria_net_ru`.cpg1410_sessions set time='1226312098' where session_id=md5('f385e96a0c9aceddb40e261319e218853f2cd9fd325f0ba894c712bc638941c6'); (0s)
   [9] => DELETE FROM cpg1410_banned WHERE expiry < '2008-11-10 10:15:00' (0.248s)
   [10] => SELECT * FROM cpg1410_banned WHERE (ip_addr='77.241.38.10' OR ip_addr='77.241.38.10' OR user_id=0) AND brute_force=0 (0.066s)
   [11] => SELECT aid FROM cpg1410_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0.014s)
   [12] => SELECT aid FROM cpg1410_albums (0.289s)
   [13] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = ''  ORDER BY pos (0.001s)
   [14] => SELECT aid FROM cpg1410_albums WHERE category = 2 (0s)
   [15] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
   [16] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '2'  ORDER BY pos (0.001s)
   [17] => SELECT aid FROM cpg1410_albums WHERE category = 3 (0s)
   [18] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
   [19] => SELECT aid FROM cpg1410_albums WHERE category = 4 (0s)
   [20] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
   [21] => SELECT aid FROM cpg1410_albums WHERE category = 5 (0.056s)
   [22] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0.001s)
   [23] => SELECT aid FROM cpg1410_albums WHERE category = 6 (0s)
   [24] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 6 (0s)
   [25] => SELECT aid FROM cpg1410_albums WHERE category = 7 (0s)
   [26] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
   [27] => SELECT aid FROM cpg1410_albums WHERE category = 8 (0s)
   [28] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0s)
   [29] => SELECT aid FROM cpg1410_albums WHERE category = 9 (0s)
   [30] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 9 (0s)
   [31] => SELECT aid FROM cpg1410_albums WHERE category = 10 (0s)
   [32] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 10 (0s)
   [33] => SELECT aid FROM cpg1410_albums WHERE category = 11 (0s)
   [34] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 11 (0s)
   [35] => SELECT aid FROM cpg1410_albums WHERE category = 12 (0s)
   [36] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 12 (0s)
   [37] => SELECT aid FROM cpg1410_albums WHERE category = 13 (0s)
   [38] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 13 (0s)
   [39] => SELECT aid FROM cpg1410_albums as a WHERE category>=10000 (0s)
   [40] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
   [41] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '1'  ORDER BY pos (0s)
   [42] => SELECT aid FROM cpg1410_albums WHERE category = 14 (0s)
   [43] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 14 (0s)
   [44] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '14'  ORDER BY pos (0s)
   [45] => SELECT aid FROM cpg1410_albums WHERE category = 15 (0s)
   [46] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 15 (0s)
   [47] => SELECT aid FROM cpg1410_albums WHERE category = 16 (0s)
   [48] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 16 (0s)
   [49] => SELECT aid FROM cpg1410_albums WHERE category = 17 (0s)
   [50] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 17 (0s)
   [51] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '17'  ORDER BY pos (0s)
   [52] => SELECT aid FROM cpg1410_albums WHERE category = 18 (0s)
   [53] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 18 (0s)
   [54] => SELECT aid FROM cpg1410_albums WHERE category = 19 (0s)
   [55] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 19 (0s)
   [56] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '19'  ORDER BY pos (0s)
   [57] => SELECT aid FROM cpg1410_albums WHERE category = 20 (0s)
   [58] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 20 (0s)
   [59] => SELECT aid FROM cpg1410_albums WHERE category = 21 (0s)
   [60] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 21 (0s)
   [61] => SELECT aid FROM cpg1410_albums WHERE category = 22 (0s)
   [62] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 22 (0s)
   [63] => SELECT aid FROM cpg1410_albums WHERE category = 23 (0s)
   [64] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 23 (0s)
   [65] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '23'  ORDER BY pos (0s)
   [66] => SELECT aid FROM cpg1410_albums WHERE category = 24 (0s)
   [67] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 24 (0s)
   [68] => SELECT cid, name, description, thumb FROM cpg1410_categories WHERE parent = '24'  ORDER BY pos (0s)
   [69] => SELECT aid FROM cpg1410_albums WHERE category = 25 (0s)
   [70] => SELECT count(*) FROM cpg1410_pictures as p, cpg1410_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 25 (0.005s)
   [71] => SELECT aid FROM cpg1410_albums as a WHERE category = '0' (0s)
   [72] => SELECT count(*) FROM cpg1410_albums as a WHERE 1 (0s)
   [73] => SELECT count(*) FROM cpg1410_pictures as p LEFT JOIN cpg1410_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
   [74] => SELECT count(*) FROM cpg1410_comments as c LEFT JOIN cpg1410_pictures as p ON c.pid=p.pid LEFT JOIN cpg1410_albums as a ON a.aid=p.aid WHERE 1 (0s)
   [75] => SELECT count(*) FROM cpg1410_categories WHERE 1 (0s)
   [76] => SELECT sum(hits) FROM cpg1410_pictures as p LEFT JOIN cpg1410_albums as a ON p.aid=a.aid WHERE 1 (0s)
   [77] => SELECT count(*) FROM cpg1410_albums as a WHERE category = '0' (0s)
   [78] => SELECT COUNT(*) from cpg1410_pictures WHERE approved = 'YES' AND aid IN (3)  (0s)
   [79] => SELECT * FROM cpg1410_pictures WHERE approved = 'YES' AND aid IN (3)  ORDER BY RAND() LIMIT 8 (0s)
   [80] => SELECT COUNT(*) from cpg1410_pictures WHERE approved = 'YES' AND aid IN (3)  (0s)
   [81] => SELECT * FROM cpg1410_pictures WHERE approved = 'YES' AND aid IN (3)  ORDER BY pid DESC  LIMIT 0 ,8 (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
Page generated in 3.205 seconds - 82 queries in 0.831 seconds - Album set : ; Meta set: AND aid IN (3) ;




File: /usr/home/vshosts/hosts/u3100/eva-longoria.net.ru/www/gallery/include/functions.inc.php - 1340

maybe this info help to find problem and fix it

Katya

 ??? i really desperate, maybe need start new gallery and old pictures i can't back?!

Joachim Müller

Quote from: Katya on November 10, 2008, 02:28:48 PM
Also how gallery can be fix if all albums and pictures deletes.
I don't know, nobody can't help me. I can do something in phpMyAdmin?
If you have a backup: yes. Restore it. If you don't have a backup: no, nothing you could do.
Quote from: Katya on November 10, 2008, 02:31:26 PM
Also this messages i see in my gallery today:
[...]
maybe this info help to find problem and fix it
That's debug_output, which you're not suppossed to post unless a supporter explicitely asks for it. It's expected behaviour that coppermine displays debug_output if you turned the correspnding option on in coppermine's config. If this bothers you, turn debug_mode off. And no, this doesn't help. Nothing can help you if you haven't created a backup when your gallery was up and running.