Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   1,000 Directory Submissions   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-28-2007, 06:26 AM   #1 (permalink)
Contributing Member
 
Optix's Avatar
 
Join Date: 07-24-06
Location: UK
Posts: 149
iTrader: 0 / 0%
Latest Blog:
None

Optix is liked by many
Send a message via AIM to Optix Send a message via MSN to Optix
Exclamation PHP script config problem

Hi guysss

basicly im trying to install this script but it doesnt seem to be co operation

This is the code in the config: (not all of it the rest contains my database info)
PHP Code:
//      $base_path = "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/";
        
$base_path "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/";
//        $include_path = "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/include;
        
$include_path "/usr/home/atif/domains/manchestermix.net/public_html/hotornot/include";
//        $base_url = "http://www.manchestermix.net/hotornot";
        
$base_url "http://www.manchestermix.net/hotornot"
and get this error > www.manchestermix.net/hotornot

these are the lines on index.php up line 36

PHP Code:
<?php

ini_set
("session.auto_start","1");

require(
"./admin/config.php");

include(
"$include_path/common.php");

include(
"$include_path/$table_file");

include(
"$include_path/doc_head.php");

include(
"$include_path/styles.php");



global 
$HTTP_POST_VARS,$HTTP_GET_VARS,$HTTP_SESSION_VARS;

global 
$_SESSION;

if (
$HTTP_POST_VARS!="")
    
$_POST=$HTTP_POST_VARS;

if (
$HTTP_GET_VARS!="")
    
$_GET=$HTTP_GET_VARS;

if (
$HTTP_SESSION_VARS!="")
    
$_SESSION=$HTTP_SESSION_VARS;


// echo " session id ".session_id();

if (empty($_GET['v']) && empty($_GET['i']) && empty($_GET['s']) && empty($_GET['z']))
{

    
header("Location: $base_url/index2.php");

whats going wrong please help!!
Optix is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-28-2007, 02:33 PM   #2 (permalink)
Contributing Member
 
Optix's Avatar
 
Join Date: 07-24-06
Location: UK
Posts: 149
iTrader: 0 / 0%
Latest Blog:
None

Optix is liked by many
Send a message via AIM to Optix Send a message via MSN to Optix
Can anyone help please?
Optix is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-28-2007, 09:49 PM   #3 (permalink)
Inactive
 
Join Date: 04-10-07
Location: www.webfoyers.com
Posts: 68
iTrader: 0 / 0%
Latest Blog:
None

brealmz is liked by somebodybrealmz is liked by somebodybrealmz is liked by somebody
cannot access your website please check
brealmz is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-29-2007, 02:07 AM   #4 (permalink)
Contributing Member
 
Optix's Avatar
 
Join Date: 07-24-06
Location: UK
Posts: 149
iTrader: 0 / 0%
Latest Blog:
None

Optix is liked by many
Send a message via AIM to Optix Send a message via MSN to Optix
if you cannot see the errors here they are:


Warning: main(/path/to/your/server/include/common.php) [function.main]: failed to open stream: No such file or directory in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 7

Warning: main() [function.include]: Failed opening '/path/to/your/server/include/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 7

Warning: main(/path/to/your/server/include/default.php) [function.main]: failed to open stream: No such file or directory in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 9

Warning: main() [function.include]: Failed opening '/path/to/your/server/include/default.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 9

Warning: main(/path/to/your/server/include/doc_head.php) [function.main]: failed to open stream: No such file or directory in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 11

Warning: main() [function.include]: Failed opening '/path/to/your/server/include/doc_head.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 11

Warning: main(/path/to/your/server/include/styles.php) [function.main]: failed to open stream: No such file or directory in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 13

Warning: main() [function.include]: Failed opening '/path/to/your/server/include/styles.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 13

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php:7) in /usr/home/atif/domains/manchestermix.net/public_html/hotornot/index.php on line 36
Optix is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-29-2007, 02:28 AM   #5 (permalink)
Inactive
 
Join Date: 04-10-07
Location: www.webfoyers.com
Posts: 68
iTrader: 0 / 0%
Latest Blog:
None

brealmz is liked by somebodybrealmz is liked by somebodybrealmz is liked by somebody
Code:
Warning: main(/path/to/your/server/include/common.php)
possible problems:
1.maybe you have other copy of $include_path in your config.php
2.maybe there is more than one copy of config.php and youre using the other one

possible solution:
scan files and search this for this string /path/to/your/server/ and replace it with your path to your server
brealmz is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-29-2007, 05:18 AM   #6 (permalink)
Contributing Member
 
Optix's Avatar
 
Join Date: 07-24-06
Location: UK
Posts: 149
iTrader: 0 / 0%
Latest Blog:
None

Optix is liked by many
Send a message via AIM to Optix Send a message via MSN to Optix
thanks for your help, it's working now.
Optix is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with my script rob7676 Coding Forum 5 01-14-2008 07:32 AM
Cent Os Firewall Config talkwebz Dedicated Servers 5 01-04-2007 05:26 AM
Problem with joke of the day script... CircleOfLinks Coding Forum 0 10-13-2006 06:26 AM
ok...new problem..google ads script drew68 Blogging Forum 21 07-27-2006 01:33 AM
Script Problem... Pretend Coding Forum 6 12-04-2003 06:16 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:34 AM.
© Copyright 2008 V7 Inc