The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
When trying to update privacy and terms of service pages, I get this error
Warning: tidy_parse_string() [function.tidy-parse-string]: Could not set encoding 'UTF-8' in /home//public_html/my urladmin/modules/content/components/edit.php on line 77
Fatal error: Call to a member function cleanRepair() on a non-object in /home//public_html/my url/admin/modules/content/components/edit.php on line 78
Offline
The bug appears on servers that have tidy installed, but its not a good version. To fix, edit admin/modules/content/components/add.php and admin/modules/content/components/edit.php and remove the following block of code:
if (function_exists('tidy_parse_string')) {
$tidy_config = array(
'clean' => true,
'output-xhtml' => true,
'show-body-only' => true,
'wrap' => 0,
);
$tidy = tidy_parse_string($content, $tidy_config, 'UTF-8');
$tidy->cleanRepair();
$content = $tidy;
}
Will be fixed in the new version.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I have already deleted the above. And there is no change.
Offline
Did you delete it for both add.php and edit.php?
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I have deleted in edit as well (I had overlooked that) and the privacy and terms pages have updated successfully, thank you. However, when I try to create/add a new page, I still get this error:
Warning: tidy_parse_string() [function.tidy-parse-string]: Could not set encoding 'UTF-8' in /home/glosdata/public_html/missgreenplanet.tv/admin/modules/content/components/add.php on line 83
Fatal error: Call to a member function cleanRepair() on a non-object in /home/glosdata/public_html/missgreenplanet.tv/admin/modules/content/components/add.php on line 84
Last edited by jupita (2011-03-08 20:22:39)
Offline
Please also delete that block of code from admin/modules/content/components/add.php.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I had already edited admin/modules/content/components/add.php. Both add.php and edit.php have been edited as per your instruction, and the page edits is now working.
But the "Add" new page function is now worse than before whereby the new page would open and new data would be added, and even previewed, only failing to save. Now, when I click "Add", it goes straight to the error.
--
Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/glosdata/public_html/missgreenplanet.tv/admin/modules/content/components/add.php on line 100
Last edited by jupita (2011-03-09 00:56:29)
Offline
Please email me FTP access and administrator site access (support@adultscriptpro.com).
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline