Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Forced Ads Support
#11
Should i do cd scripts/
Reply
#12
cd /scripts should work
Nick - TheHostingTool Staff Coordinator

[Image: standard.png]

Reply
#13
I'm going to modify this to only place ads on specific plans... Do you know how to use PHP to check the accounts plan name?
Reply
#14
Thats exactly what it does right now, places ads ONLY on the Plans you define in the config file.
Nick - TheHostingTool Staff Coordinator

[Image: standard.png]

Reply
#15
How do i create a new file in SSH
Reply
#16
"file content" > "/dir/to/file"
"second line" >> "/dir/to/file"
"third line" >> "/dir/to/file"
"fourth line" >> "/dir/to/file"
Nelson - Retired TheHostingTool Developer
[Image: sleek.png]
Reply
#17
new problem
Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 28: parser error : Opening and ending tag mismatch: meta line 4 and head in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </head> in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 65: parser error : Opening and ending tag mismatch: input line 65 and form in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: 041849"><input type="hidden" name="domain" value="adtest.welfarehost.com"></form in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 73: parser error : Opening and ending tag mismatch: input line 65 and body in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </body> in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 74: parser error : Opening and ending tag mismatch: input line 65 and html in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: </html> in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 75: parser error : Premature end of data in tag input line 65 in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 75: parser error : Premature end of data in tag input line 65 in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 75: parser error : Premature end of data in tag form line 63 in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 75: parser error : Premature end of data in tag body line 29 in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 75: parser error : Premature end of data in tag head line 3 in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: Entity: line 75: parser error : Premature end of data in tag html line 2 in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Warning: SimpleXMLElement::__construct() [simplexmlelement.--construct]: ^ in /home/welfareh/public_html/client/includes/servers/whm.php on line 61

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/welfareh/public_html/client/includes/servers/whm.php:61 Stack trace: #0 /home/welfareh/public_html/client/includes/servers/whm.php(61): SimpleXMLElement->__construct('<!DOCTYPE html ...') #1 /home/welfareh/public_html/client/includes/servers/whm.php(105): whm->remote('/xml-api/create...') #2 /home/welfareh/public_html/client/includes/class_server.php(139): whm->signup('3', '0') #3 /home/welfareh/public_html/client/includes/ajax.php(124): server->signup() #4 /home/welfareh/public_html/client/includes/ajax.php(939): AJAX->create() #5 {main} thrown in /home/welfareh/public_html/client/includes/servers/whm.php on line 61
Reply
#18
In reference to mghq's post. (We work together)
I tried setting up a new instance of THT and when i try importing clients (All server details are fine)
i get

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Opening and ending tag mismatch: meta line 4 and head in Entity, line: 28 in /home/welfareh/public_html/test/includes/servers/whm.php on line 160

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Opening and ending tag mismatch: head line 3 and html in Entity, line: 74 in /home/welfareh/public_html/test/includes/servers/whm.php on line 160

Warning: DOMDocument::loadXML() [domdocument.loadxml]: Premature end of data in tag html line 2 in Entity, line: 75 in /home/welfareh/public_html/test/includes/servers/whm.php on line 160

Warning: Invalid argument supplied for foreach() in /home/welfareh/public_html/test/includes/import/whmimport.php on line 41
Accounts have been imported!


Also to note is that we upgraded apache to the latest current version:
Server Version: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
We were running 2.0.something

I gtg im tired. I suspect it to be an apache problem, something mal-configured but i dont have the experience to be able to tell what it might be.
Reply
#19
Are your server details correct?
Nelson - Retired TheHostingTool Developer
[Image: sleek.png]
Reply
#20
YES Tongue I think its a problem with firewall/security. im still looking.

Going to try rebuilding apache and php in a while.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)