WTB : Tutorial Index Site Script

Discussion in 'Programming' started by askboutMe, Apr 26, 2007.

  1. #1
    If you have script for tutorial index site, pm me your offer with a demo.
     
    askboutMe, Apr 26, 2007 IP
  2. pulikuttann

    pulikuttann Banned

    Messages:
    1,839
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Let me see the demo !!!
    Is it coded by you ???
     
    pulikuttann, Apr 29, 2007 IP
  3. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I think you need to start to re-read posts, i think this is about your 5th time saying something thats completely opposite then what the post is saying.

    He is not selling anything, if you read the subject, it says WTB. the thread said 'If YOU have' and 'Pm me with demo'
     
    killaklown, Apr 29, 2007 IP
  4. hillord

    hillord Well-Known Member

    Messages:
    2,211
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    140
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    pm you regarding this
     
    hillord, Apr 29, 2007 IP
  5. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #5
    Darkhodge, Apr 30, 2007 IP
  6. jags2ooo

    jags2ooo Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    145
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    ur script doesnt work, after you submit a tutorial it does not show up in any catagory
     
    jags2ooo, May 12, 2007 IP
  7. lpxxfaintxx

    lpxxfaintxx Peon

    Messages:
    422
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    Wow, thanks! I've been looking for a script like this.
     
    lpxxfaintxx, May 12, 2007 IP
  8. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #8
    It does work - please read the other topic you PMed me.

    You're most welcome :D
     
    Darkhodge, May 13, 2007 IP
  9. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    Darkhodge,

    Well, I almost have your script working. Just a bug or two still!

    It is a nice looking little script and has a lot of potential. I am now wanting to get it to work. I listed a few of the errors below that I am getting. If you see this maybe you can make a suggestion or two for me. Thanks!

    The site is here: qualitynetdesign.com/tutorials


    Warning: include(config2.php) [function.include]: failed to open stream: No such file or directory in /home/pathname/public_html/tutorials/include/constants.php on line 20

    Warning: include(config2.php) [function.include]: failed to open stream: No such file or directory in /home/pathname/public_html/tutorials/include/constants.php on line 20

    Warning: include() [function.include]: Failed opening 'config2.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pathname/public_html/tutorials/include/constants.php on line 20

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pathname/public_html/tutorials/include/constants.php:20) in /home/pathname/public_html/tutorials/include/session.php on line 46
     
    Boulder, May 13, 2007 IP
  10. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #10
    To be honest it's been a while since I've looked at the script as I've been working on a new site, ExoLinks but it's obviously due to an error with the inclusion part.

    Where is "config2.php" located? In the root folder or in the "include" folder?
     
    Darkhodge, May 13, 2007 IP
  11. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    Right now "config2.php" is in the root folder. I will try it in the include folder and see what it does.
     
    Boulder, May 13, 2007 IP
  12. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #12
    Yeah try that, it should work. I've noticed your links in the LHS don't work as they are linking to "tutorials/tutorials/..." instead of just "tutorials/....". You should fix this by editing your menuLHS.php with the following steps:

    • OPEN menuLHS.php
    • FIND

      
      	// Category URL
      	$catURL = "$siteURL/tutorials/$cFile/page1.html";
      
      Code (markup):
    • REPLACE WITH

      
      	// Category URL
      	$catURL = "$siteURL/$cFile/page1.html";
      
      Code (markup):

    Also I've just noticed that there's a security issue with the current version - I will be fixing this soon so please make sure you keep up-to-date as this is quite a flaw in the script.
     
    Darkhodge, May 13, 2007 IP
  13. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    Well I tried that and got other errors, So i placed config2.php in both directories. Now I get this error when I go control panel link.


    Warning: mysql_result() [function.mysql-result]: Unable to jump to row 0 on MySQL result index 23 in /home/pathname/public_html/tutorials/userCP.php on line 123


    So, what is the security issue? That it plainly displays the error with path directory.

    Well thanks for trying to help and if i can not make this version work i will look for the next version.

    Yes something with the links is weird and i was looking at that earlier as well. Not sure why it is doing that. I put in good link urls in the entry, The picture link works fine.. lol


    Okay thanks, this worked for the links in the left menu items but not for the main body links..

    Boulder
     
    Boulder, May 14, 2007 IP
  14. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #14
    If you follow the steps outlined in my last post you should be able to fix the links.

    Also the security issue is due to the fact that the variables sent are not verified to prevent SQL injections. This is a pretty serious issue so I will work on it very soon (I've already started on some parts).

    The error message you're getting now is because the script can't find the parent category of the category your tutorial is listed under. Are you sure you've got the database installed properly and submitted the tutorial properly?
     
    Darkhodge, May 14, 2007 IP
  15. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #15
    Yes, pretty darn sure. I even went into the database and looked at the table and saw the new links were added. One for a picture and one for the Tutorial post heading. However I will try to re enter now with that Category URL changed in menuLHS.php
     
    Boulder, May 14, 2007 IP
  16. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #16
    Can you post the tutorial record as it is in the database on here? :eek:
     
    Darkhodge, May 14, 2007 IP
  17. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #17
    Boulder, May 14, 2007 IP
  18. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #18
    Sorry I'm a little confused... what is that link?? :confused:
     
    Darkhodge, May 14, 2007 IP
  19. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #19
    That is a link to the site with the tutorial.

    It looks like in the database it is not assigning a catID to the entry. Should there be a catID on the record?
     
    Boulder, May 14, 2007 IP
  20. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    As Seller:
    100% - 0
    As Buyer:
    100% - 1
    #20
    Yes when you submit a tutorial a catID should be selected. This is done when you select a parent category -> child category when you submit a tutorial.
     
    Darkhodge, May 14, 2007 IP