PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old January 15th, 2003, 01:51 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
4 tries of failure

Hi ...
I purchased this auction code for my site and have very little knowledge of php. I am only on a learning level right now. I have tried 4 times to upload this script to my server and I set all permissions. I even went through the programs so called "installation procedures" and I can only get the admin area to work. This was great except if you go to my website it only show file folders on the main page. If there is anyone that could help me to figure this out, I would be so greatful.

thanks!
plutodip

Reply With Quote
  #2  
Old January 15th, 2003, 07:53 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: 4 tries of failure

Tell me your permissions. You moight have to chown the directory so that your web server can write to it ie.

chown -R apache.yourusername directory/*

This will do a recursive change owner of the directory and its child directories and files


Reply With Quote
  #3  
Old January 15th, 2003, 08:48 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: 4 tries of failure

Hi PostalCow,

thank you for helping me.

The only permissions I set (that I was told to set) are the following:

1.chmod the "uploaded" directory to 777

2.chmod the "counter" directory to 777

3.chmod the "backup" directory to 777 (but .. this directory I could not find .. so, I didn't set anything)

4.chmod the following include directory files 666:
a) passwd.inc.php
b) config.inc.php
c) categories_select_box.inc.php
d) countries.inc.php
e) currency.inc.php

Then I was told to upload all of the files of this entire script (including the last permission set files) to my main root directory so that it would work as my main domain page (http://www.cracklejack.com). Once, I did this, I was told to type in http://www.cracklejack.com/admin/install.php ... which this went through 3 stages. It confirmed that all stages passed ... and then directed me to login to my administration page to setup general preferences. I did all of this. The only two errors I received was the main page comes up with file folders ... and, when I was in my admin area, I tried to setup preferences for my logo to be uploaded, but it said the path could not be found.

Anyway, that was what I did 4 times.

Postalcow ... I hope you don't mind me explaining this to you. I just want to make sure I give you as much info as possible. Sorry for the long note.

Oh ... and, by the way, I can send the coding via email if needed.

Again, I am very grateful for your help.
plutodip

Reply With Quote
  #4  
Old January 15th, 2003, 11:43 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: 4 tries of failure

During setup it may have asked for the path to the root directory did you put in for the obsolute path

Reply With Quote
  #5  
Old January 16th, 2003, 01:53 AM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: 4 tries of failure

are you speaking of the auction program itself (for the main page) or the upload file (this file is in the includes directory) for the images (this was the one I said that came up with an error message)?

If you are talking about the auction program itself ... I was not asked to do that.

If you ara asking about the upload directory ... here is some of the code I was told to change ...
[highlight=php]
*/

$SESSION_NAME = "PHPAUCTION_SESSION";
session_name($SESSION_NAME);
session_start();

//-- This is the directory where passwd.inc.php file resides - requires ending slash

$include_path = "./includes/";
#$include_path = "C:\some\path\to\includes\";


//-- This is the directory where users pictures will be uploaded - requires ending slash
//-- Under Windows use something like C:\path\to\you\uploaddir\

$image_upload_path = "/home/www/uploaded/";
#$image_upload_path = "C:\some\path\to\uploaded\";
$uploaded_path = "uploaded/";
#$uploaded_path = "uploaded\";


//--
$MAX_UPLOAD_SIZE = 100000;



//-- This string is added to passwords before generating the MD5 hash
//-- Be sure to never change it after the firt set up or
//-- your users passwords will not work

$MD5_PREFIX = "put_here_along_and_unpredictable_string";


/*
This is the log file generated by cron.php - insert the complete
file name (including the absolute path).
If you don't want to generate a log file for cron activity simply
leave this line commented.
*/

#$logFileName = "/var/www/auctions/logs/cron.log";
#$logFileName = "C:\path\tocron.log";

/*
Set this to TRUE if you want cron to generates HTML output
BESIDES the cron file declared above. cron.php cannot generates
only HTML output.
*/
$cronScriptHTMLOutput = FALSE;


$expireAuction = 60*60*24*30; // time of auction expiration (in seconds)

/*================================================= =====================
* *
* Don't edit the code below unless you really know what you are doing *
* *
================================================== ====================*/
[highlight=php]

you will see the directory.

Can you tell me if I was suppose to change this code --->>>>>>
[highlight=php] $MD5_PREFIX = "put_here_along_and_unpredictable_string";[highlight=php]

Thanks
plutodip






Reply With Quote
  #6  
Old January 16th, 2003, 02:46 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: 4 tries of failure

WHat happens if you put the absolute path in

$include_path = "./includes/";

They have the absolute path in the example.

Reply With Quote
  #7  
Old January 16th, 2003, 08:50 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: 4 tries of failure

Hi PostalCow,
Yes...that is what they have for the settings, but here is what the adminstration asks when setting up general preferences:

Include path : ./includes/
Image upload path : /home/user/phpauction/uploaded/
Max upload size : 100000
MD5 prefix : put_here_unpredictable_string

------->> this was the 3rd stage of finalizing the admin setup before finished. Then when I logged into the Admin area for the first time, I then went to the general preferences and tried to upload my logo. And ... the following error occurred:
---------------

Warning: Unable to create '/home/www/uploaded/face4.gif': No such file or directory in /usr42/home/plutodip/public_html/admin/settings.php on line 75
------------------

I hope I've answered your question.

Thanks again,
Plutodip


Reply With Quote
  #8  
Old January 16th, 2003, 11:53 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: 4 tries of failure

I went to your site.
When you set up the database using the admin menu did you add the trailing / {slash} where it asked for site URL?

Reply With Quote
  #9  
Old January 17th, 2003, 11:23 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: 4 tries of failure

Yes ... I did put the trailing slash, like this:

http://www.cracklejack.com/

... is that correct?

thanks!

plutodip


Reply With Quote
  #10  
Old January 17th, 2003, 11:44 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: 4 tries of failure

I am confused. I went to the site. I was able to register and put an auction up for bid what is not working again?

Reply With Quote
  #11  
Old January 17th, 2003, 11:49 PM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: 4 tries of failure

Hi PostalCow,

whether I use Netscape or IE, all that I see is file folders - nothing else - literally I see my all of my folders ... as if everyone can get into (unsecurely) all of my folders. I do not see an auction site at http://www.cracklejack.com

... is this the same site you logged into?

or, is there something I am doing wrong ... or, ????

Thanks again,
plutodip

Reply With Quote
  #12  
Old January 17th, 2003, 11:59 PM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: 4 tries of failure

Ok I see. Your web server is not setup to see index.php as a start page. Ask your ISP to add it to the config. In the time being create a file in your folder called index.html and put the following code in it.

Code:
<html>

<head>
<META HTTP-EQUIV="refresh" content="0; URL=http://www.cracklejack.com/index.php">
<title>cracklejack</title>
</head>
<body>
</body>
</html>


This will do a quick redirect to the correct page. Let me know if this works, Good Luck

Reply With Quote
  #13  
Old January 18th, 2003, 12:05 AM
plutodip plutodip is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 38 plutodip User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: 4 tries of failure

Hi Postalcow,

THANK YOU, THANK YOU!!!

Now ... all I have to do is locate all the folders where I can change colors of borders and stuff...

would this not be in the includes file "config.php"?

Anyhow... I am so grateful...

plutodip

Reply With Quote
  #14  
Old January 18th, 2003, 12:14 AM
postalcow postalcow is offline
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Ford CIty, PA USA
Posts: 1,267 postalcow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
Send a message via Yahoo to postalcow
RE: 4 tries of failure

I did not look through your files but I did see a header and footer file in there. Change those.
BTW, Your Welcome....


Reply With Quote
  #15  
Old October 7th, 2003, 12:00 PM
help help is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 help User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
HELP

Hi,
Im after someone who knows how to set cron.php up on php auction or could someone tell me how to as im new to PHP

Thanks
Craig

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > 4 tries of failure


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump