EzPortal - Portal Software for Forums

EzPortal - Made to Fit Your SMF Forum - Glad You Found Us!
+- +-

UserBox

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Recent Posts

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Re: Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 02:09:24 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:55:53 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 01:47:42 pm

Re: Theme Select Box question? by Shades
March 09, 2023, 01:34:07 pm

Re: Theme Select Box question? by EzPortal
March 09, 2023, 12:20:17 pm

+- HTML Menu


Sample HTML Block Usage - You May Custom Code it, as needed!

Recent Topics ezBlock

New built in translations for six langauges! by EzPortal
March 26, 2024, 11:15:32 pm

Smiley missing in shoutbox 2.1.4 by hustreamload
July 26, 2023, 08:14:02 am

Theme Select Box question? by Shades
March 15, 2023, 06:49:49 pm

Where is the facebook button color? by EzPortal
February 28, 2023, 06:45:09 pm

Display on Mobile - SMF 2.1.3 and EZ 5.5.2 by BugginIn
December 29, 2022, 04:07:13 pm

Blocks Help by Riggs1973
November 20, 2022, 12:59:30 pm

Surface ol lite theme release Free! by Steffen K.
November 18, 2022, 03:57:24 am

Undefined index: href by EzPortal
October 04, 2022, 08:49:59 pm

SMF-ezportal_column_5.cache): failed to open stream: No such file or directory by EzPortal
June 04, 2022, 11:40:13 am

Arcade block error: failed to open stream: No such file or directory by Shades
May 20, 2022, 02:47:13 pm

Author Topic: need help, code erar in custom block kills site  (Read 6706 times)

0 Members and 1 Guest are viewing this topic.

Offline ke4obt

  • Posts: 4
  • Karma: 0
  • Gender: Male
  • CQ CQ CQ From KE4OBT Located At Grid Square EM90ck
need help, code erar in custom block kills site
« on: December 16, 2008, 10:35:25 am »
I tryed to make a custom block and realy messed up my site, in fact i locked up my site.
what i need to know is there a way to go to the database and drop that patickuler block. the block in question is a custom php block in the center collum , so i need to know where to go to edit the db.
thanks for any help, as a blind user i can use all the help i can get.

flip

ps. what's bad is that i'm the only one who sees the erar as the block is visable to me only as admin.
Philip "Flip" Halley IV - KE4OBT
The Blind Ham
Helping Other Blind Hams
At Ham Radio Advisors

Offline EzPortal

  • Administrator
  • *****
  • Posts: 1299
  • Karma: 67
Re: need help, code erar in custom block kills site
« Reply #1 on: December 16, 2008, 12:10:51 pm »
Open up the database and check  and look in the ezp_block_layout  should be the very last entry in that table.

What type of error did you make was it a php syntax error? Or something else?
Like ezPortal? Support me at https://www.patreon.com/vbgamer45/

Offline ke4obt

  • Posts: 4
  • Karma: 0
  • Gender: Male
  • CQ CQ CQ From KE4OBT Located At Grid Square EM90ck
Re: need help, code erar in custom block kills site *SOLVED*
« Reply #2 on: December 16, 2008, 01:18:01 pm »
Got it solved with help from VBGamer on the SMF site.
For help for someone else who may run across this, here's the error "Fatal error: require_once() [function.require]: Failed opening required 'home/content/*/*/*/**********/html/ke4obt/SSI.php"' (include_path='.:/usr/local/php5/lib/php') in /home/content/*/*/*/**********/html/ke4obt/Sources/Load.php(1796) : eval()'d code(1060) : eval()'d code on line 1".
Went into the ezp_block_layout table and deleted the last 2 fields that were named php block. That fixed the site.
This is what Flip put into the block "require_once('home/content/*/*/*/**********/html/ke4obt/SSI.php"');
if (function_exists('ssi_recentPostsPref')) ssi_recentPostsPref();" and that seems to have been what locked up the site. He was trying to use the "user posts extensions" aka "recent posts user preferences" mod and make a block out of it, which obviously didn't work. :)  (shows what happens when he thinks 1 - he knows what he's doing, and 2 - he is a programmer) He He.
So, that's what did it, that's how it got fixed.
Any suggestions on how to use that mod with EZ Portal?

Thanks again to VB Gamer,
Mickey - Flip's wife.
Philip "Flip" Halley IV - KE4OBT
The Blind Ham
Helping Other Blind Hams
At Ham Radio Advisors

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
9451 Views
Last post February 17, 2010, 02:47:00 pm
by EzPortal
0 Replies
4960 Views
Last post August 20, 2010, 04:01:03 am
by JoeMumme
1 Replies
8026 Views
Last post December 11, 2010, 07:21:34 am
by Guardian
2 Replies
5429 Views
Last post March 16, 2015, 08:45:12 am
by fotografo74
2 Replies
7898 Views
Last post October 18, 2015, 10:51:30 am
by Arun_kaushal

+-SMF Gallery

Quick Menu


Powered by EzPortal