1
xuanyuu
Error
  • 2010/8/23 8:53

  • xuanyuu

  • Just popping in

  • Posts: 53

  • Since: 2009/8/15


Dear guys,
i tried to upload the "news" module to my portal and it was functioning well. but then i tried to edit a custom block, and it was error :
le="color: #000000"><?php Fatal error: require_once() [function.require]: Failed opening required '/home/subportal_users/sarawak/public_html/bm/modules/tag/blocks/block.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/subportal_users/sarawak/public_html/bm/modules/news/blocks/news_block_tag.php on line 48 None All Errors (1) Deprecated (0) Queries (9) Blocks (4) Extra (2) Timers(4) Errors Warning: require_once(/modules/tag/blocks/block.php) [function.require-once]: failed to open stream: No such file or directory in file /modules/news/blocks/news_block_tag.php line 48 Deprecated Queries 0.000302 - SET NAMES 'utf8' 0.000107 - SET SQL_BIG_SELECTS = 1 0.000851 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC 0.000401 - SELECT sess_data, sess_ip FROM session WHERE sess_id = '7c3d55ad39a1b98ccc1a639bc79047c4' 0.000323 - SELECT COUNT(*) FROM banner 0.000465 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC 0.001214 - SELECT DISTINCT gperm_itemid FROM group_permission WHERE gperm_name = 'block_read' AND gperm_modid = 1 AND gperm_groupid IN (3) 0.002856 - SELECT b.* FROM newblocks b, block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,-1) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,20,21,22,23,25,26,27,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,45,46,47,49,50,51,52,53,13,33,54,68,67,66,65,64,62,63,69,70,71) ORDER BY b.weight, m.block_id 0.000685 - SELECT f.*, s.tpl_source FROM tplfile f LEFT JOIN tplsource s ON s.tpl_id=f.tpl_id WHERE (tpl_tplset = 'default' AND tpl_file = 'system_block_dummy.html') ORDER BY tpl_refid Total: 9

now i can't read my portal anymore, can anyone help how to solve this problem? thank you.

2
ghia
Re: Error
  • 2010/8/23 12:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you try to enable the tag block (or which block), without having the tag module?
Disable the block again from admin.

3
xuanyuu
Re: Error
  • 2010/8/24 1:19

  • xuanyuu

  • Just popping in

  • Posts: 53

  • Since: 2009/8/15


i can't log in to my portal, all i can c is just the error. can u please tell me how do i log in and disable the block.
thanks.

4
ghia
Re: Error
  • 2010/8/24 10:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Direct link /user.php isn't working?

Else try with phpMyAdmin to set visibility of the block in the database table to 0.

5
linux-ws
Re: Error
  • 2010/8/24 22:34

  • linux-ws

  • Just popping in

  • Posts: 39

  • Since: 2010/7/20


Reply to: xuanyuu

1. Make a full MySQL database backup through the cPanel control panel, when you login into your web host cPanel account.

2. Try deleting the news folder from the main modules folder all together. You will not loose the news content you posted. All the content is in the MySQL database for XOOPS, so you should not have a problem.

3. Try going to your website again, and see if you can log in. If you get an error message. Try to login, by entering your domain name, and the followed by /admin.php.

4. If the option 3 fails, then you may need to delete the full XOOPS folder all together with modules, etc... from your website, then re-upload the same exact XOOPS version to your website, and then use the same exact MySQL database and user login information to identify the database for installation. Note: use the same exact prefix for the database too, or it will not work.

5. They should be more options available to fix this, such as trying to undo the editing to which ever file you edited. Or most important, if you custom edited some file, you should have made a backup of that original file before custom editing. Therefore, deleting the custom edited file, and uploading the original file into the same exact location may fix the problem.

6. If everything fails, atleast you still have the original MySQL database backup of your XOOPS website to restore the database from.

Thank you very much.
Audio Bible Online
http://www.audio-bible.com/bible/bible.html

Must See - Actual videos of people going to hell and back.
http://embarktoheaven.com/

6
xuanyuu
Re: Error
  • 2010/8/25 1:42

  • xuanyuu

  • Just popping in

  • Posts: 53

  • Since: 2009/8/15


thanks ghia and linux-ws.
my collegue had helped me to solve it by disabling the block as ghia mentioned.

thank you guys for helping.