Hi guys,
when I am trying to uninstall the pretty urls mod, it gives me the following error:
"
Parse error: syntax error, unexpected ''" width="100%" height="200px"' (T_ENCAPSED_AND_WHITESPACE) in /..../Packages/temp/uninstall.php on line 12
"
line 12 is the following one (and yes, while opening the file from cpanel, it indeed shows an error):
echo '<iframe src ="http://www.smfhacks.com/uninstall.php?modname=' . $modName . '" width="100%" height="200px">
The entire small block of the code is this:
<?php
// Pretty URLs - Base v0.8.1
// All I do is disable URL rewriting. If you're uninstalling the mod manually, please just ignore me.
$modSettings['pretty_enable_filters'] = false;
// Show the iframe with the uninstall
$modName = base64_encode("Pretty Urls");
echo '<iframe src ="http://www.smfhacks.com/uninstall.php?modname=' . $modName . '" width="100%" height="200px">
<p>Your browser does not support iframes.</p>
</iframe>
<b>Other Helpful Mods to make your forum stand out</b><br />
<a href="http://www.smfhacks.com/smf-gallery-pro.php" target="_blank">SMF Gallery Pro</a> - A fully featured gallery for SMF<br />
<a href="http://www.smfhacks.com/smf-store.php" target="_blank">SMF Store</a> - eCommerce Store system using PayPal<br />
<a href="http://www.smfhacks.com/smf-classifieds.php" target="_blank">SMF Classifieds</a> - Auction/Listing system for SMF<br />
<a href="http://www.smfhacks.com/ad-seller-pro.php" target="_blank">Ad Seller Pro</a> - Make more money from your forum with ads<br />
<a href="http://www.smfhacks.com/download-system-pro.php" target="_blank">Downloads System Pro</a> - charge people for downloads<br />
<a href="http://www.smfhacks.com/awesomepostratings.php" target="_blank">Awesome Post Ratings</a> - gain more interaction from your visitors<br />
<a href="http://www.smfhacks.com/newsletter-pro.php" target="_blank">Newsletter Pro</a> - send html emails with open, click and unsubscribe tracking.<br />
?>
So, where exactly is the syntax error?
In my understanding the ' ... before the iframe tag is extra, meaning this:
'<iframe
But still I cannot correct the error...
Does anyone know how to correct it? ... I would highly appreciate it :)
mod related issues needs to be asked under the mod's support topic.
HI Antes, could you please provide me with the url of the specific board?
https://www.simplemachines.org/community/index.php?topic=146969.0
thanks