Can't load code when I install IPOS 1.0 (TGT 4.5)

xuancong6000

Verified User
Joined
Oct 12, 2012
Messages
79
I had install IPOS 1.0 (TGT 4.5) from here:
Code:
http://sinhvienit.net/@forum/threads/197489-share-ma-nguon-nghe-nhac-ipos-tgt-ver4-5/
this is code and data:
Code:
http://sinhvienit.net/@forum/attachment/21111/1337818898/SinhVienIT.Net---TGT%20VER%204.5%20%5BNo%20pass%5D.rar
you can install by this way:
Code:
Open file /tgt/tgt_music.php and config 
define('SERVER_HOST', 'localhost');
define('DATABASE_NAME', '********');
define('DATABASE_USER', '********');
define('DATABASE_PASS', '********');
Username : ichphienpro
Pass I : admin
Pass II : admin
but it can't load it had an error:
site demo: http://demo.hostingdomainpro.net/music/
Code:
Server error
The website encountered an error while retrieving http://demo.hostingdomainpro.net/music/. It may be down for maintenance or configured incorrectly.
I had install by custombuild 1.2:
Code:
Apache 2.2.23
DirectAdmin 1.42.0
Exim 4.80.1
MySQL 5.5.27
Named 9.8.2rc1
ProFTPd 1.3.4b
sshd
dovecot 2.1.10
Php 5.3.18
all of them is running
and I install addittion CSF Firewall
I tested on localhost ok I don't how to fix it so I had post to directadmin forum
could you help me find the problem
thanks alot
 
Last edited:
Hello,

From your apache error logs:
Code:
PHP Parse error:  syntax error, unexpected $end in /home/hostingdom/domains/hostingdomainpro.net/public_html/demo/music/tgt/temp.php on line 152
so it appears to be a coding error.

John
 
Hello,

From your apache error logs:
Code:
PHP Parse error:  syntax error, unexpected $end in /home/hostingdom/domains/hostingdomainpro.net/public_html/demo/music/tgt/temp.php on line 152
so it appears to be a coding error.

John
Sorry I had upload all code in localhost to server but in localhost is running ok and in server can't run could you help me fix it
 
Last edited:
Hello,

Thanks for the clarification. With the hostingdomainpro.net/demo method of accessing it, it's quickly apparent that the dns values do not match:
Code:
[root@es4 custombuild]# dig demo.hostingdomainpro.net @216.218.130.2 +nocomments

; <<>> DiG 9.2.4 <<>> demo.hostingdomainpro.net @216.218.130.2 +nocomments
;; global options:  printcmd
;demo.hostingdomainpro.net.     IN      A
demo.hostingdomainpro.net. 86400 IN     A       198.23.160.185

[root@es4 custombuild]# dig hostingdomainpro.net @216.218.130.2 +nocomments

; <<>> DiG 9.2.4 <<>> hostingdomainpro.net @216.218.130.2 +nocomments
;; global options:  printcmd
;hostingdomainpro.net.          IN      A
hostingdomainpro.net.   300     IN      A       69.64.43.73
where I'm querying the IP 216.218.130.2, which is the first of several IPs controlling the domain.

See:
http://intodns.com/hostingdomainpro.net

Code:
Nameserver records returned by the parent servers are:

ns1.he.net.   ['216.218.130.2']   [TTL=172800] 
ns2.he.net.   ['216.218.131.2']   [TTL=172800] 
ns3.he.net.   ['216.218.132.2']   [TTL=172800] 
ns4.he.net.   ['216.66.1.2']   [TTL=172800] 
ns5.he.net.   ['216.66.80.18']   [TTL=172800]

So if you're trying to change the IP of the "demo" value, or of the domain, you must do so at those nameservers, as they're controlling the dns.

John
 
I had creat a host with domain: hostingdomainpro.net and I had addon a subdomain to this host(demo.hostingdomainpro.net) I use it to make demo site allthouth I don't point the main domain to IP host but I thinks it posible, in my opinon I think it error in config but I don't know where's problem:(
 
Since your as per my last post, the dns for your domain is not controlled by DirectAdmin, so any DNS settings added by DA will have no effect.
The dns is controlled remotely at the www.he.net nameserver system, so if you you must login there to setup the IPs as needed.

The other option is to create your own nameservers on your box, so that your server controlls the dns, so changes made by DA will actually be used.

John
 
I try change nameserver to my server but I can't this is error can you see it for me:


 
Last edited:
Hello,

I've manually queried a few boxes.. and it seems like your dns settings are all setup on the ns1/ns2.hosting-domain-pro.net domain.

That would only leave the issue being that those nameservers may not yet have been registered as nameservers.

Login to your domain registrar where the domain hosting-domain-pro.net was purchased, and go to the nameservers section.. and ensure they're registered.
Once registered and propagated as nameservers, then you should be able to set your domain to use them.

John
 
Back
Top