Reply
Need help with ezhomesite.pl script
Old 03-15-2007, 02:03 PM Resolved: Need help with ezhomesite.pl script
Novice Talker

Posts: 13
Name: Blonde
Location: Seattle
Hello,
I found the ezhomepage scripts (from http://www.mannyjuan.com) that will let your website visitors make their own webpage at your stie. There are several versions, but the only one I was able to get to work at all is the ezhomesite version.

The problem is when I click on New Site (on this page: http://www.winxclub.us/ezhomesite/index.html) it takes you to the page (http://www.winxclub.us/cgi/ezhomesite.pl) to start a new site but at the bottom where you are supposed to click a button to create the site, I get the following message:
Content-type: text/html The following error occurred : Undefined subroutine &main::build_form_body called at
/home/content/w/i/n/winxclub/html/cgi/ezhomesite.pl line 349.

Below is the peice of code that I believe is getting the error:

Code:
&build_form_body($usrname, $mail, $head, $sub, $body, $body2, $body3, $body4, $body5, $bgimage, $bgimage2, $linkcolor, $vlinkcolor, 
        $ahref1, $ahref2, $ahref3, $ahrefname1, $ahref2name, $ahref3name,
                    $filename, $imurl, $hrline, $emailpic, $textcolor, $fontface, $bullet, $tbltext,
$navigator1, $navigator2, $navigator3, $navigator4, $navigator5, $headpos, $pagepos, $imagepos);
print "<input type=submit value=\"Create Site\">\n";
print "</form>\n";

Here is a bit more of the script (above and below that.) If anyone can tell me what is wrong that would be just greatly appreciated:

Code:
print "</td></tr><tr><td bgcolor=lightgrey><font face=\"verdana, helvetica, arial\" size=\"1\"><b>Name on webpages:</b></font><br>\n";
print "</td></tr><tr><td bgcolor=white><font face=\"verdana, helvetica, arial\" size=\"1\">(Will also be the name of your navigation links)<br>\n";
print "Page 1: <input type=text size=40 name=\"navigator1\" value=\"$navigator1\"><br>\n";
print "Page 2: <input type=text size=40 name=\"navigator2\" value=\"$navigator2\"><br>\n";
print "Page 3: <input type=text size=40 name=\"navigator3\" value=\"$navigator3\"><br>\n";
print "Page 4: <input type=text size=40 name=\"navigator4\" value=\"$navigator4\"><br>\n";
print "Page 5: <input type=text size=40 name=\"navigator5\" value=\"$navigator5\"></font><br><br>\n";
print "</td></tr><tr><td bgcolor=lightgrey><font face=\"verdana, helvetica, arial\" size=\"1\"><b>Do you want the pages centered:</b> <input type=radio name=\"pagepos\" value=\"yes\" checked>Yes\n";
print "<input type=radio name=\"pagepos\" value=\"no\">No</font>\n";
print "</td></tr><tr><td bgcolor=lightgrey><p><font face=\"verdana, helvetica, arial\" size=\"1\"><b>Slogan:</b></font><br>\n";
print "</td></tr><tr><td bgcolor=white><font face=\"verdana, helvetica, arial\" size=\"1\">(Subtitle of your site)</font><br>\n";
print "<input type=text size=40 name=\"subhead\" value=\"$sub\"><br><br>\n";
&build_form_body($usrname, $mail, $head, $sub, $body, $body2, $body3, $body4, $body5, $bgimage, $bgimage2, $linkcolor, $vlinkcolor, 
        $ahref1, $ahref2, $ahref3, $ahrefname1, $ahref2name, $ahref3name,
                    $filename, $imurl, $hrline, $emailpic, $textcolor, $fontface, $bullet, $tbltext,
$navigator1, $navigator2, $navigator3, $navigator4, $navigator5, $headpos, $pagepos, $imagepos);
print "<input type=submit value=\"Create Site\">\n";
print "</form>\n";
print HTML "<p align=\"center\"><font face=\"Arial, Verdana\" size=\"2\">A <a href=\"<A href="mailto:$myemail\">$yourtitle</a">mailto:$myemail\">$yourtitle</a> Customization Based On <a 
href=\"<A href="http://www.internor.com/ezhomesite/\">EZHomesite</a></p>\n">http://www.internor.com/ezhomesite/\">EZHomesite</a></p>\n";
print "</td></tr></table>\n";
print "</font></center></body></html>\n";
    }
sub create {
# Now, lets do some error checking. Making sure they filled out each field
# This is pretty low tech now. I'll improve it later
&missing(missing_name) unless $usrname;
&missing(missing_email) unless $email;
&missing(missing_login) unless $login;
Or does anyone know of any other scripts that will allow your users to create a website at your site?
__________________
I don't know...I just pretend to think here.

Last edited by winxclub : 03-22-2007 at 02:28 PM.
winxclub is offline
Reply With Quote
View Public Profile Visit winxclub's homepage!
 
When You Register, These Ads Go Away!
Old 03-20-2007, 12:44 AM Re: Need help with ezhomesite.pl script
Average Talker

Posts: 27
Name: Ross Dalangin
Use WordPress MU. It is similar to blogger.com
rossdalangin is offline
Reply With Quote
View Public Profile Visit rossdalangin's homepage!
 
Old 03-22-2007, 02:26 PM Re: Need help with ezhomesite.pl script
Novice Talker

Posts: 13
Name: Blonde
Location: Seattle
Thank you for answering. I use godaddy and they have wordpress to install and i tried it and it was really really complicated and time consuming, but I did get the ezhomepage script to work.
__________________
I don't know...I just pretend to think here.
winxclub is offline
Reply With Quote
View Public Profile Visit winxclub's homepage!
 
Reply     « Reply to Need help with ezhomesite.pl script
 

Thread Tools

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11201 seconds with 12 queries