Phpld Help?

Discussion in 'PHP' started by Professional Dude, Jan 26, 2008.

  1. #1
    Hi

    Why does it show
    HTML_CURRENCY_CODE5

    as error in featured links?

    in phpld ..if i turn off the payments, it won't show

    Thanks
     
    Professional Dude, Jan 26, 2008 IP
  2. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #2
    Probably it is not defined?
    
    define("HTML_CURRENCY_CODE5", "some value");
    
    PHP:
     
    Kaizoku, Jan 26, 2008 IP
  3. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #3
    Always (I repeat), Always include the original error message when posting problems here. (Or at least describe the error as good as possible).


    It's like asking: "My car doesn't work, any ideas why?"
     
    nico_swd, Jan 27, 2008 IP
  4. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #4
    Yeah, I agree. If you want help don't make it a guessing game.
     
    Kaizoku, Jan 27, 2008 IP
  5. Professional Dude

    Professional Dude Prominent Member

    Messages:
    6,261
    Likes Received:
    430
    Best Answers:
    0
    Trophy Points:
    330
    #5
    thats the main error on submit page, if i on the payment
    if i just make it free dir, i won't get this error

    Thanks
     
    Professional Dude, Jan 27, 2008 IP
  6. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #6
    we still dont know what the error is though.
     
    nico_swd, Jan 27, 2008 IP
    Professional Dude likes this.
  7. Professional Dude

    Professional Dude Prominent Member

    Messages:
    6,261
    Likes Received:
    430
    Best Answers:
    0
    Trophy Points:
    330
    #7
    For example
    on submit page


    Pricing:
    Featured links HTML_CURRENCY_CODE5
    Regular links HTML_CURRENCY_CODE4
    Regular links with reciprocal free
    Links with nofollow attribute free

    i am getting error for payment?
     
    Professional Dude, Jan 27, 2008 IP
  8. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #8
    Lol, I'm sorry, but what you're saying makes no sense to me. And I think everyone else is just as lost as I am.

    And yet again you're mentioning an error, but don't tell us what the error is about?

    What should happen?
    what DOES happen?


    Oh, and you still didn't tell me why my car doesn't work. ;) (You're not allowed to take a look at it, though!)



    How are we supposed to fix an error if you can't tell us what's wrong?
     
    nico_swd, Jan 27, 2008 IP
  9. Professional Dude

    Professional Dude Prominent Member

    Messages:
    6,261
    Likes Received:
    430
    Best Answers:
    0
    Trophy Points:
    330
    #9
    :D okay let me add a screenshot, you will get it then!

    [​IMG]

    where it says the html codes, its supposed to show the Price of links in $US but instead its showing that html error

    how to fix that!
    I hope you get it this time ;)
     
    Professional Dude, Jan 27, 2008 IP
  10. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #10
    It is not an error, like I said, the constant is not defined. To fix do something like this.
    
    define("HTML_CURRENCY_CODE5", "some value");
    
    PHP:
     
    Kaizoku, Jan 27, 2008 IP
  11. Professional Dude

    Professional Dude Prominent Member

    Messages:
    6,261
    Likes Received:
    430
    Best Answers:
    0
    Trophy Points:
    330
    #11
    i have no idea where to add it or modify it, is there something wrong with the template ?
     
    Professional Dude, Jan 27, 2008 IP
  12. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #12
    You are asking in a Programming section and you have no idea how to do something simple like that? Please learn the basics first...
     
    Kaizoku, Jan 27, 2008 IP
  13. LGwebs

    LGwebs Guest

    Messages:
    900
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #13
    You need to edit the file....What is the URL to that page...eg

    as i might be able to help you//
     
    LGwebs, Jan 27, 2008 IP
  14. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #14
    Harsh, lol.

    Anyway, have a look if there's a config.php file (or similar), and add the line that Kaizoku gave you somewhere between the <?php ?> tags.
     
    nico_swd, Jan 28, 2008 IP
  15. Professional Dude

    Professional Dude Prominent Member

    Messages:
    6,261
    Likes Received:
    430
    Best Answers:
    0
    Trophy Points:
    330
    #15
    i would but if you can tell me which directory, is the template or the main directory!
     
    Professional Dude, Jan 28, 2008 IP