Results 1 to 6 of 6

Thread: Try to create new theme glype alone

  1. #1
    prast is offline Newbie Net Builder
    Join Date
    May 2009
    Posts
    116
    Thanks
    22
    Thanked 8 Times in 7 Posts

    Question Try to create new theme glype alone

    Hello,

    I try to create new theme for glype.. is easy and fine. But there are error for counter visitor (user online and total visits) in homepage...

    I use script php very simple for counter visitor. I use file file.php, file1.db (user online) and file2.db (total visitor)..

    In root folder i put file privacy.php and terms.php, and threre are no error (you can see in tech-proxy.com/privacy.php and tech-proxy.com/terms.php). Counter visitor is fine, no error.

    But when i try to access tech-proxy.com, counter visitors is not fine, there are error, still user online 001 and total visits 0000001.

    in themes/mythemes i put file header.php, menu.php, footer.php, main.php, file1.db, and file2.db
    in root folder i put privacy.php and terms.php

    I have tried to move footer.php, file1.db, and file2.db in root folder, but still not function for homepage.

    I think the problem is in main.php... anybody can help me?

    Thanks..
    PS:I am sorry my english is no good,
    Fully Optimized Unique Amazon Pages in Under 30 Seconds - Click Here. FB eCommerce Shop Plugin - Click Here. Get 20K More Twitter Followers - Click Here.

  2. #2
    Aussie's Avatar
    Aussie is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    138
    Thanks
    11
    Thanked 46 Times in 36 Posts
    It is hard to say what the problem is without knowing what script you are using for the counter. If you can provide a link to the script I can take a look at it and see if I can figure it out for you.

    It is probably a permission problem though if it isn't writing the new visitor to the counter file or db.

    Aus

  3. #3
    prast is offline Newbie Net Builder
    Join Date
    May 2009
    Posts
    116
    Thanks
    22
    Thanked 8 Times in 7 Posts
    @Ausie..
    I use script from phpeasycode.com/visits and phpeasycode.com/visitors

    For permision is true, i set it to 777..

    I think file main.php can't read for file file1.db and file2.db
    Fully Optimized Unique Amazon Pages in Under 30 Seconds - Click Here. FB eCommerce Shop Plugin - Click Here. Get 20K More Twitter Followers - Click Here.

  4. #4
    Aussie's Avatar
    Aussie is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    138
    Thanks
    11
    Thanked 46 Times in 36 Posts
    Have you tried an absolute path to the file?

    So this:
    Code:
    <?php include("visits.php");?>
    looks like this"
    Code:
    <?php include("/home/usr/username/public_html/visits.php");?>
    Aus

  5. #5
    Aussie's Avatar
    Aussie is offline Unknown Net Builder
    Join Date
    Oct 2009
    Posts
    138
    Thanks
    11
    Thanked 46 Times in 36 Posts
    Ok I found that the php version doesn't work but the javascript version does.

    you can see it working at the bottom of | Surf Freely |

    Aus

  6. Thanked by:

    prast (26 December, 2009)

  7. #6
    prast is offline Newbie Net Builder
    Join Date
    May 2009
    Posts
    116
    Thanks
    22
    Thanked 8 Times in 7 Posts

    Thumbs up

    Quote Originally Posted by Aussie View Post
    Have you tried an absolute path to the file?

    So this:
    Code:
    <?php include("visits.php");?>
    looks like this"
    Code:
    <?php include("/home/usr/username/public_html/visits.php");?>
    Aus
    I have try it but nothing...

    Javascript
    Yes.. i try it and done!...

    Thank you @Aussie

    Greetz! (Aquarezz mode on)
    Last edited by prast; 26 December, 2009 at 02:55 AM.
    Fully Optimized Unique Amazon Pages in Under 30 Seconds - Click Here. FB eCommerce Shop Plugin - Click Here. Get 20K More Twitter Followers - Click Here.

Similar Threads

  1. C.I.A Theme For Glype
    By Jorge05r in forum Proxy Templates
    Replies: 10
    Last Post: 14 June, 2009, 13:31 PM
  2. Glype Theme: ChalkBoard
    By budhi1976 in forum Proxy Templates
    Replies: 6
    Last Post: 3 June, 2009, 04:05 AM
  3. Glype 1.1 Theme 'RS14'
    By elbandelero in forum Proxy Templates
    Replies: 3
    Last Post: 9 February, 2009, 13:29 PM
  4. Glype 1.1 Theme 'Replenish'
    By elbandelero in forum Proxy Templates
    Replies: 4
    Last Post: 7 February, 2009, 11:51 AM
  5. Glype Theme: Blogsmith
    By budhi1976 in forum Proxy Templates
    Replies: 1
    Last Post: 5 January, 2009, 04:48 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •