|
Hey Thanks... that did it. The errors have gone away, the links seem to work and the includes seem to be included. But I still have a problem with the image paths. I am getting the famous x's for incomplete image paths. It is sticking the member folder name in the path. (the member folder is the new folder that I moved the file to. The file was outside of all folders) I can put the page graphic images inside the folder, however, the real problem comes with the images delivered by MySQL.
This code is on the new member file that is placed inside the new folder:
<?
include_once ("/home/myaccount/public_html/abc.php");
$root_path = "";
$filename = "index.php";
?>
I played with root path a bit, but I do not see where it is used so it may not do anything.
Here is a copy of my config.php
<?php
// pathes and files
$absolutepath = 'http://mysite.com/';
$imagemagik_path = '';
$imgSize = 100;
$original_max_size = '600x600';
$thumb_size1 = '100x100';
$thumb_size2 = '300x300';
$deleteOldestCount = 500;
// admins login and passwords
$admi['admin'] = '';
$gsPerRaw = 5; // how many g to display per 1 raw
$gPerPage = 20;
$imagesPerRaw = 3; // how many images to display per 1 raw
mysql_connect("localhost", "_", "") or die(mysql_error());
mysql_select_db("_") or die(mysql_error());
?>
However, this configuration form has to work with my home page. Could it be that I should have to make a configuration for the member folder? ( the new folder that I have made that I have transfered the file abc.php from above)
I believe the problem of image paths getting the /member/ folder into the path has to be between these two pieces of code. However, if someone has another idea, please let me know. Thanks...
|