Jump to content

tejanse

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tejanse's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi,   I've just finished setting up a testing server on my computer (apache 2.2, mySQL 5.0.24, and php 5.2), and I'm working on a php shopping cart (tutorial). Unfortunetly my testing server doesn't seem to accept any relative paths (ex: require_once '../admin/config.php'), so I just changed everything to absolute paths, which seemed to work. But now I'm installing phpmyadmin, so I can easily see my sql tables, and this program's php scripts are of course full of relative links (and it's way too complicated and large to edit). The errors I get look something like this: [code]Warning: require_once(./libraries/common.lib.php) [function.require-once]: failed to open stream: No such file or directory in C:\www\myadmin\scripts\setup.php on line 10[/code] Does anyone have some advice on what could be causing my setup to reject all relative links? I hope I'm not asking an obvious question, but I searched this forum for a couple hours and couldn't seem to find an answer. Thanks!! P.S. I could post my php.ini file if that would help... P.S.S. I've only been working with php for maybe a year, so it's probably something stupid :)
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.