Need Help--will pay!!!!!!!!!!

Discussion in 'Programming' started by discodollars, Feb 22, 2008.

  1. #1
    First off, my website

    http://www.stop-n-save.net is on cpanel and right now I am having problems accessing the admin panel.

    It is all on phpadmin, and DealInformer 2.0.

    I am not able to add my offers or anything else like that or see the Deals on my home page because some files may be missing.

    Basically I need to get this up and running again so my site will be fully functional.

    After that is complete, I need the whole site moved to a new server.

    Anyone interested in taking on this project?

    Will pay through Paypal.
     
    discodollars, Feb 22, 2008 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    That site has the look of an older script. You may be able to solve your problems by enabeling register_globals. Depending on the server config, this is done in the .htaccess file or php.ini. I will tell you which and how if you like.

    The advice and any follow-up posts in the thread are free. If you want some personal help please feel free to PM me.
     
    Colbyt, Feb 22, 2008 IP
  3. discodollars

    discodollars Peon

    Messages:
    945
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, not sure what register_globals is. If you could tell me which and direct me the right direction, that'd be great.
     
    discodollars, Feb 22, 2008 IP
  4. iwyrobi

    iwyrobi Peon

    Messages:
    91
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    register globals is in php.ini
     
    iwyrobi, Feb 22, 2008 IP
  5. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Add the following line in your .htaccess file:

    php_flag register_globals on
    Code (markup):
     
    Dondon2d, Feb 22, 2008 IP
  6. discodollars

    discodollars Peon

    Messages:
    945
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ok, I cannot find the php.ini

    However, I did add that line in the .htaccess file

    I can get into my admin now! yay, However, when I try to add merchants or do anything with the categories, it takes me right back to the login page.

    I had a ton of things added on there, however, I cannot even see them. So, something is missing.
     
    discodollars, Feb 22, 2008 IP
  7. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Where's my 5$? Lol. But at least, we went one step further :D

    I can reinstall the script and move it to your new server if you want.
     
    Dondon2d, Feb 22, 2008 IP
  8. discodollars

    discodollars Peon

    Messages:
    945
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I sent you a PM.
     
    discodollars, Feb 22, 2008 IP
  9. projectshifter

    projectshifter Peon

    Messages:
    394
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Please don't encourage anyone to turn on register_globals. It's better to have it rewritten properly than to rely on that antiquated and insecure bit of settings.
     
    projectshifter, Feb 22, 2008 IP
  10. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I think it's for testing purposes only. Once it will be settled I think it would be all good to turn it off again.
     
    Dondon2d, Feb 22, 2008 IP
  11. projectshifter

    projectshifter Peon

    Messages:
    394
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I'm not sure if that's the case, there would be no reason to turn it on unless you needed it for the site to work. register_globals means that you can use $var instead of reading $_POST['var'] or $_GET['var'] depending on how the variables are being passed. It has some serious security issues if it's not done right, and then if it were done right you might as well use proper variables ;) You have things like an $is_admin check, but I can add ?is_admin=true to the URL and voila, gain access. It's bad bad practice to do.
     
    projectshifter, Feb 22, 2008 IP
  12. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Yeah, I got you and I knew that. See, it worked when register_globals was turned on, so we now have leads to where the problem lies.
     
    Dondon2d, Feb 22, 2008 IP
  13. projectshifter

    projectshifter Peon

    Messages:
    394
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Old / poor coding ;) That'll do it
     
    projectshifter, Feb 22, 2008 IP
  14. Dondon2d

    Dondon2d Peon

    Messages:
    3,193
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Yeah lol. Simple as that :p
     
    Dondon2d, Feb 22, 2008 IP
  15. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #15
    I just answer the questions that are asked.

    I am not here to preach.
     
    Colbyt, Feb 23, 2008 IP
  16. discodollars

    discodollars Peon

    Messages:
    945
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #16
    So, it is working now, as far as being able to see the admin panel, however, now, I cannot edit anything. When I try to add more merchants or edit anything I am automatically taken back to the login screen. On my home page, if you try clicking on any of the categories, you can now see some of the deals I have posted which I wasn't able to see before.
     
    discodollars, Feb 23, 2008 IP