Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 53
2 members and 51 guests
buynm6ymobcha8b, cliaw9cckhereto
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Modules Creator is malfunctioning
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 137
Join Date: Jun 2003
Location: San Clemente, Ca. Orange
Modules Creator is malfunctioning - 06-11-2003, 01:32 PM

Here is my code I generated from the modules creator. I followed the instructions to the "t" and here is what I get when I hit teh donations link in my navigation, oh and yes the module is activeated.

Error Message:
Quote:
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/jsminc/public_html/nuke/html/modules/Donations/index.php on line 163
Here is the code from my page:
Quote:
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);
include("header.php");
$index = 0;
OpenTable();
echo""
. "<table width=\"600\" border=\"0\" cellspacing=\"2\" cellpadding=\"0\">"
. " <tr> "
. " <td colspan=\"3\" background=\"file:///C|/Documents and Settings/Administrator/My Documents/My Pictures/cellpic3.gif\"><font color=\"#FFFFFF\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Donations "
. " are welcomed and Appreciated
</font></td>"
. " </tr>"
. " <tr> "
. " <td height=\"634\" colspan=\"3\">"
. "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"
. " <tr> "
. " <td height=\"212\" bgcolor=\"#333333\">"
. "

<font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Welcome "
. " to JSM-Inc COnsulting and Dynamic Design Donations center:</font></p>"
. " "
. "

<font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">From "
. " here you can make various donation to my cause, making logos for "
. " free.& I say free because I have done so far over thrity logo "
. " designs and have yet to ask or receive anything.& Although "
. " it is not required for services I do appreciate the consideration "
. " and it helps me blow off the day job and focus on Nukers.</font></p>"
. "

<font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Thanks</font></p>"
. " "
. "

<font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Paycheck.
"
. "
"
. "
"
. " Donations Amounts
"
. "
</font></p>"
. " <hr>"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> "
. "
</font>"
. "<table width=\"100%\" border=\"0\" align=\"left\" cellpadding=\"0\" cellspacing=\"0\" bordercolor=\"#CCCCCC\">"
. " <tr> "
. " <td height=\"35\" valign=\"top\" bgcolor=\"#000000\"> <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Thanks "
. " for the thought</font>
"
. " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\">"
. " <input type=\"hidden\" name=\"business\" value=\"john@jsm-inc.com\">"
. " <input type=\"hidden\" name=\"item_name\" value=\"JSM-Inc Logo Generation Donation\">"
. " <input type=\"hidden\" name=\"item_number\" value=\"logo-1\">"
. " <input type=\"hidden\" name=\"amount\" value=\"1.00\">"
. " <input type=\"hidden\" name=\"no_note\" value=\"1\">"
. " <input type=\"hidden\" name=\"currency_code\" value=\"USD\">"
. " <input type=\"hidden\" name=\"tax\" value=\"0\">"
. " <input type=\"image\" src=\"http://jsm-inc.com/images/bttns/paypal_bttns/pay_1.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">"
. " </form></td>"
. " </tr>"
. " <tr> "
. " <td height=\"35\" valign=\"top\" bgcolor=\"#000000\"> <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Back "
. " so soon</font>
"
. " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\">"
. " <input type=\"hidden\" name=\"business\" value=\"john@jsm-inc.com\">"
. " <input type=\"hidden\" name=\"item_name\" value=\"JSM-Inc Logo Generation Donation\">"
. " <input type=\"hidden\" name=\"item_number\" value=\"logo-2\">"
. " <input type=\"hidden\" name=\"amount\" value=\"2.00\">"
. " <input type=\"hidden\" name=\"no_note\" value=\"1\">"
. " <input type=\"hidden\" name=\"currency_code\" value=\"USD\">"
. " <input type=\"hidden\" name=\"tax\" value=\"0\">"
. " <input type=\"image\" src=\"http://jsm-inc.com/images/bttns/paypal_bttns/pay_2.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">"
. " </form></td>"
. " </tr>"
. " <tr> "
. " <td height=\"35\" valign=\"top\" bgcolor=\"#000000\"> <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">I "
. " think I could get to know you
"
. " </font> "
. " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\">"
. " <input type=\"hidden\" name=\"business\" value=\"john@jsm-inc.com\">"
. " <input type=\"hidden\" name=\"item_name\" value=\"JSM-Inc Logo Generation Donation\">"
. " <input type=\"hidden\" name=\"item_number\" value=\"logo-5\">"
. " <input type=\"hidden\" name=\"amount\" value=\"5.00\">"
. " <input type=\"hidden\" name=\"no_note\" value=\"1\">"
. " <input type=\"hidden\" name=\"currency_code\" value=\"USD\">"
. " <input type=\"hidden\" name=\"tax\" value=\"0\">"
. " <input type=\"image\" src=\"http://jsm-inc.com/images/bttns/paypal_bttns/pay_5.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">"
. " </form></td>"
. " </tr>"
. " <tr> "
. " <td height=\"35\" valign=\"top\" bgcolor=\"#000000\"> <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">My "
. " wife likes you too</font>
"
. " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\">"
. " <input type=\"hidden\" name=\"business\" value=\"john@jsm-inc.com\">"
. " <input type=\"hidden\" name=\"item_name\" value=\"JSM-Inc Logo Generation Donation\">"
. " <input type=\"hidden\" name=\"item_number\" value=\"logo-10\">"
. " <input type=\"hidden\" name=\"amount\" value=\"10.00\">"
. " <input type=\"hidden\" name=\"no_note\" value=\"1\">"
. " <input type=\"hidden\" name=\"currency_code\" value=\"USD\">"
. " <input type=\"hidden\" name=\"tax\" value=\"0\">"
. " <input type=\"image\" src=\"http://jsm-inc.com/images/bttns/paypal_bttns/pay_10.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">"
. " </form></td>"
. " </tr>"
. " <tr> "
. " <td height=\"35\" valign=\"top\" bgcolor=\"#000000\"> <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Come "
. " on over for a drink</font>
"
. " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\">"
. " <input type=\"hidden\" name=\"business\" value=\"john@jsm-inc.com\">"
. " <input type=\"hidden\" name=\"item_name\" value=\"JSM-Inc Logo Generation Donation\">"
. " <input type=\"hidden\" name=\"item_number\" value=\"logo-20\">"
. " <input type=\"hidden\" name=\"amount\" value=\"20.00\">"
. " <input type=\"hidden\" name=\"no_note\" value=\"1\">"
. " <input type=\"hidden\" name=\"currency_code\" value=\"USD\">"
. " <input type=\"hidden\" name=\"tax\" value=\"0\">"
. " <input type=\"image\" src=\"http://jsm-inc.com/images/bttns/paypal_bttns/pay_20.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">"
. " </form></td>"
. " </tr>"
. " <tr> "
. " <td height=\"35\" valign=\"top\" bgcolor=\"#000000\"> <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Got "
. " you a room if you need one</font>
"
. " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\">"
. " <input type=\"hidden\" name=\"business\" value=\"john@jsm-inc.com\">"
. " <input type=\"hidden\" name=\"item_name\" value=\"JSM-Inc Logo Generation Donation\">"
. " <input type=\"hidden\" name=\"item_number\" value=\"logo-50\">"
. " <input type=\"hidden\" name=\"amount\" value=\"50.00\">"
. " <input type=\"hidden\" name=\"no_note\" value=\"1\">"
. " <input type=\"hidden\" name=\"currency_code\" value=\"USD\">"
. " <input type=\"hidden\" name=\"tax\" value=\"0\">"
. " <input type=\"image\" src=\"http://jsm-inc.com/images/bttns/paypal_bttns/pay_50.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">"
. " </form></td>"
. " </tr>"
. " <tr> "
. " <td height=\"35\" valign=\"top\" bgcolor=\"#000000\"><font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\"> "
. " <form action=\"https://www.paypal.com/cgi-bin/webscr\" method=\"post\">"
. " <font color=\"#CCCCCC\" size=\"-1\" face=\"Verdana, Arial, Helvetica, sans-serif\">Hey "
. " Big Spender, you got a link for life</font>
"
. " <input type=\"hidden\" name=\"cmd\" value=\"_xclick\">"
. " <input type=\"hidden\" name=\"business\" value=\"john@jsm-inc.com\">"
. " <input type=\"hidden\" name=\"item_name\" value=\"JSM-Inc Logo Generation Donation\">"
. " <input type=\"hidden\" name=\"item_number\" value=\"logo_100\">"
. " <input type=\"hidden\" name=\"amount\" value=\"100.00\">"
. " <input type=\"hidden\" name=\"no_note\" value=\"1\">"
. " <input type=\"hidden\" name=\"currency_code\" value=\"USD\">"
. " <input type=\"hidden\" name=\"tax\" value=\"0\">"
. " <input type=\"image\" src=\"http://jsm-inc.com/images/bttns/paypal_bttns/pay_100.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\">"
. " </form>"
. " </font></td>"
. " </tr>"
. " <tr>"
. " <td height=\"5\" valign=\"top\" background=\"images/cellpic3.gif\" bgcolor=\"#000000\">&</td>"
. " </tr>"
. " </table>"
. "

&</p>"
. "

&</p>"
. " </td>"
. " </tr>"
. " </table></td>"
. " </tr>"
. "</table>"
CloseTable();
include("footer.php");
?>
  Send a message via MSN to paycheck  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
06-11-2003, 04:39 PM

Did you use the Module Ctreator in the Nuke Tools?
If so, then go here and let Disipal know of your problem.
http://www.disipal.net/

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 21
Join Date: Mar 2003
06-11-2003, 05:43 PM

Try this instead

Code:
if (!isset($mainfile)) { include("mainfile.php"); }
$index = 1;
include("header.php");
OpenTable();

?>


// Delete This Line And Add Your HTML Here!


<?php
CloseTable();
include("footer.php");
?>
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 137
Join Date: Jun 2003
Location: San Clemente, Ca. Orange
06-11-2003, 06:00 PM

OK I found the problem. I needed to comment out the include lang file int he top of the code.

Quote:
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");

}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
##get_lang($module_name);##
include("header.php");
$index = 0;
OpenTable();
It was trying to call it at the end of the lang_english.php file. It works great now. Now I need to figure out how I can open the maodule in the center block and still have the right blocks show up. Overall it is a great addition to my skills sets.

JM
http://www.jsm-inc.com
  Send a message via MSN to paycheck  
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
Popup creator by disipal doneandoner Site design 5 05-10-2005 03:49 AM
Theme Creator needed vectorby Site design 0 10-22-2004 11:51 AM
block creator help Dan Nuke 6.5 to 6.9 - Blocks 11 07-08-2003 04:25 AM
The nukemods, block creator.......how to use it. Colin_da_Killer Site design 3 04-29-2003 09:21 PM
Theme creator ?? Br00klynzzfinest Purged Topics 7 04-11-2003 11:13 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.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