» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 33
1 members and 32 guests
doctornuke
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on block creator help within the Nuke 6.5 to 6.9 - Blocks forums, part of the PHP-Nuke 6.5 to 6.9 category; I'm trying to run the block creator and I keep getting this error: Parse error: parse error, unexpected $ in /...


Go Back   Nukemods Forum » PHP-Nuke 6.5 to 6.9 » Nuke 6.5 to 6.9 - Blocks

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-06-2003, 09:33 AM
Dan Dan is offline
Junior Member
 
Join Date: Dec 2002
Posts: 30
block creator help
I'm trying to run the block creator and I keep getting this error:

Parse error: parse error, unexpected $ in /home/nisfc/public_html/blocks/block-Warnings.php on line 10

Here's my code:

<?php
#### Generated by Block Creator by Disipal Site (www.disipal.net) ###
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$content = "<div style=\"overflow:auto;height:150px;width:183;\">";
$content .= "<scr ipt language=\"[javascript] \" src=\"http://www.swiftwx.com/warnings/warnings-plugin.aspx\"></scri pt> </div>";
$content .= "
?>

What am I doing wrong?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-06-2003, 09:39 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
Make sure that the div tag is on the line where the scr ipt tag gets closed and delete the
Code:
echo .="
because it shouldn't be there
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-06-2003, 10:40 AM
Dan Dan is offline
Junior Member
 
Join Date: Dec 2002
Posts: 30
Now it doesn't display anything.
Take a look: www.nisfc.org/index.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-06-2003, 11:33 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
I can see the Curent warnings, and I don't see a block with no content
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-06-2003, 01:12 PM
Dan Dan is offline
Junior Member
 
Join Date: Dec 2002
Posts: 30
I re uploaded the block with the questionable code. Check it now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 07-06-2003, 01:41 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
This one will work for you
http://users.skynet.be/fa091229/block-Warnings.zip
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 07-06-2003, 10:34 PM
Dan Dan is offline
Junior Member
 
Join Date: Dec 2002
Posts: 30
Still showing a blank block.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 07-07-2003, 04:56 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
It can't be, I tested it first. Mkae sure you have the right blok loaded
BTW the block "Curent Warnings" looks similar to the one I gave you so it seems to work right
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 07-07-2003, 05:13 AM
Junior Member
 
Join Date: Apr 2003
Posts: 21
Re: block creator help
See this line in your code above?

Code:
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Make "block-Block_Creator.php" the same as your files name. So if the name of the block's PHP file is warnings.php this line should read "block-warnings.php

Try that with your original code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 07-07-2003, 05:15 AM
Junior Member
 
Join Date: Apr 2003
Posts: 21
oops, nevermind. I should have checked might_y's .zip first
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
module / block creator dannygroov nukemods.com 6 05-16-2005 09:46 PM
Popup creator by disipal doneandoner Site design 5 05-10-2005 04:49 AM
Modules Creator is malfunctioning paycheck Purged Topics 3 06-11-2003 07:00 PM
The nukemods, block creator.......how to use it. Colin_da_Killer Site design 3 04-29-2003 10:21 PM
Theme creator ?? Br00klynzzfinest Purged Topics 7 04-11-2003 12:13 PM


All times are GMT -5. The time now is 11:56 PM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31