Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 2 Hours ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Errant Slash
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Errant Slash
#5030
Errant Slash 2 Years, 3 Months ago  
I just downloaded and installed Sourcerer and so far I like the functionality provided. I have one small issue however. It appears it is producing an errant slash in my output. Example:

<table>

<tr><td>Domain:</td><td> <input type="text" name="domain" value="" size="20" /></td></tr>
<tr><td>Username: </td><td><input type="text" name="username" value="" size="20" /></td></tr>
<tr><td>Password:</td><td><input type="password" name="pass" value="" size="20" /></td>/<tr>

<?php
// This failurl allows cPanel to redirect back to this site
echo '<input type="hidden" name="failurl" value="http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?failed=1">';
?>

<tr><td>Options:</td><td><select name="port">
  <option value="2082">cPanel </option>
  <option value="2083">Secure cPanel </option>
  <option value="2095">Webmail</option>
  <option value="2096">Secure Webmail</option>
</select></td></tr></table>
<input type="submit" value="Login" />
</form>{/source}

Produces:

Login to Your Site!

Login to your cPanel account or check your WebMail here!
/  <---------------Here's the issue.
Domain:        an input box here
Username:     an input box here    
Password:    an input box here    
Options:    an input box here    

Login

I've tried removing all spaces in the original text between all portions of the code to make sure there was no misinterpreted pattern. I've deleted the "Login to your cPanel account or check your WebMail here!" and "<form action="cpanelLogin.php" method="POST">

<?php if(($_GET['failed'] == "1") or ($error == 1)){
echo '<font color="#FF0000">Your login attempt failed!</font><br ./>';}?>" portions completely to make sure it wasn't something goofy going on in the code. Still no luck.

The source produced is:
<div class="moduletable">
                    <h3>Login to Your Site!</h3>
                    <p>Login to your cPanel account or check your WebMail
here!

</p><form action="cpanelLogin.php" method="post">



/<table>

<tbody><tr><td>Domain:</td><td> <input name="domain" value="" size="20" type="text"></td></tr>
<tr><td>Username: </td><td><input name="username" value="" size="20" type="text"></td></tr>
<tr><td>Password:</td><td><input name="pass" value="" size="20" type="password"></td></tr><tr>
<div class="moduletable">
                    <h3>Login to Your Site!</h3>
                    <p>Login to your cPanel account or check your WebMail
here!

</p><form action="cpanelLogin.php" method="post">



/<table>

<tbody><tr><td>Domain:</td><td> <input name="domain" value="" size="20" type="text"></td></tr>
<tr><td>Username: </td><td><input name="username" value="" size="20" type="text"></td></tr>
<tr><td>Password:</td><td><input name="pass" value="" size="20" type="password"></td></tr><tr>

<input name="failurl" value="http://www.horizontechnologygroup.com/index.php?failed=1" type="hidden">

</tr><tr><td>Options:</td><td><select name="port">
<option value="2082">cPanel </option>
<option value="2083">Secure cPanel </option>
<option value="2095">Webmail</option>
<option value="2096">Secure Webmail</option>
</select></td></tr></tbody></table>
<input value="Login" type="submit">
</form><br><br mce_bogus="1"></div>
<input name="failurl" value="http://www.horizontechnologygroup.com/index.php?failed=1" type="hidden">

</tr><tr><td>Options:</td><td><select name="port">
<option value="2082">cPanel </option>
<option value="2083">Secure cPanel </option>
<option value="2095">Webmail</option>
<option value="2096">Secure Webmail</option>
</select></td></tr></tbody></table>
<input value="Login" type="submit">
</form><br><br mce_bogus="1"></div>

For some strange reason, that '/' keeps showing up right before the <table> tag...

Is it something anyone has seen? A bug maybe? Or maybe just something a fresh set of eyes can cure for me
rhgiles
Posts: 2
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#5034
Errant Slash 2 Years, 3 Months ago  
In your 3rd line of html you have "</td>/<tr>" instead of "</td></tr>"... is that the problem?
Peter van Westen
Admin
Posts: 9147
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#5038
Errant Slash 2 Years, 3 Months ago  
That would be the problem. I looked at it for over an hour and didn't see it. I almost didn't see it after you pointed it out to me

The fresh set of eyes did it

Looks like I need to use that donate button
rhgiles
Posts: 2
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#5041
Errant Slash 2 Years, 3 Months ago  
The donate button is a good idea.
But maybe better idea to have an extra cup of coffee and stick your head out the window for a breath of fresh air
Peter van Westen
Admin
Posts: 9147
User Online NowClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
Go to topPage: 1
Moderators: Peter van Westen
hosting joomla
MaxCDN | Content Delivery Network | Accelerate your site to the max
Open Source Training | Online Joomla! Training and Support