Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Can't find a php file on root - its there?

New Here ,
Nov 04, 2010 Nov 04, 2010

Hi,

Sorry for the repeated posts.

I am now getting these issues:

Warning:  include_once(home/thevilla/public_html/fpss/fpss.php)  [function.include-once]: failed to open stream: No such file or  directory in /home/thevilla/public_html/example.php on line 49

Warning:  include_once() [function.include]: Failed opening  'home/thevilla/public_html/fpss/fpss.php' for inclusion  (include_path='.:/usr/lib/php:/usr/local/lib/php') in  /home/thevilla/public_html/example.php on line 49
This demo uses the "Movies" template and the sample data that come bundled with the purchase package

The fpss file is sitting on my server and is the sub folder for the php file.  The html which gets me to this point is:-

<?php
         /* Frontpage Slideshow: Setup Steps */
         /* Please refer first to the online documentation here: http://www.joomlaworks.gr/content/view/74/41/ */
        
         // 1. Enter the name of your slideshow
         $slideshow = "myslideshow";
        
         // 2. Enter your site's URL (without trailing slash)
         $siteURL = "http://www.thevillagers.co.uk";
        
         // 3. Enter the absolute path of your site on the server (without trailing slash)
         $sitePath = "home/thevilla/public_html";
        
         // Include the slideshow
         include_once($sitePath."/fpss/fpss.php"); // DO NO EDIT THIS LINE
        
         ?>

TOPICS
Server side applications
798
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 04, 2010 Nov 04, 2010

         // 3. Enter the absolute path of your site on the server (without trailing slash)
         $sitePath = "";

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2010 Nov 04, 2010

Thanks again but according to http://www.thevillagers.co.uk/path.php my path is /home/thevilla/public_html which is what I have.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 04, 2010 Nov 04, 2010

So you're saying you tried my recommendation and still got an error message?

I don't think so.

Take a look here:

http://www.thevillagers.co.uk/fpss/fpss.php

See the pattern in the error messages?


Whoa... then look here:

http://www.thevillagers.co.uk/fpss/slideshows/parameters.php

You got 99 problems and correct file paths are > 1.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2010 Nov 04, 2010

I am still working my way through:-

Step 4

Once you fill in those values and provided they are correct, open up your browser and request the example.php page - so you should see something like this: http://www.frontpageslideshow.net/demos/standalone/example.php

My page is http://www.thevillagers.co.uk/example.php

I still get Line 49 errors

Warning:  include_once(home/thevilla/public_html/fpss/fpss.php) [function.include-once]: failed to open stream: No such file or directory in /home/thevilla/public_html/example.php on line 49

Warning:  include_once() [function.include]: Failed opening 'home/thevilla/public_html/fpss/fpss.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thevilla/public_html/example.php on line 49
This demo uses the "Movies" template and the sample data that come bundled with the purchase package

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Nov 04, 2010 Nov 04, 2010

The error messages you posted are the same as the original error messages which suggests that you did not perform my recommendation.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2010 Nov 04, 2010
LATEST

Sorry iPHP,

Just been back over the posts and I have changed the html to read:-

// 1. Enter the name of your slideshow
            $slideshow="myslideshow";
           
            // 2. Enter your site's URL (without trailing slash)
            $siteURL="http://www.thevillagers.co.uk";
           
            // 3. Enter the absolute path of your site on the server (without trailing slash)
            $sitePath="/home/thevilla/public_html";
           
            // Include the slideshow
            include_once($sitePath."/fpss/fpss.php"); // DO NO EDIT THIS LINE

Which are the absolute paths as far as I am aware?

Uploading this PHP file I now get errors saying:-

Warning:  require_once(/home/thevilla/public_html/fpss/slideshows/myslideshow/parameters.php) [function.require-once]: failed to open stream: No such file or directory in /home/thevilla/public_html/fpss/fpss.php on line 16

Fatal error:  require_once() [function.require]:  Failed opening required  '/home/thevilla/public_html/fpss/slideshows/myslideshow/parameters.php'  (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thevilla/public_html/fpss/fpss.php on line 16

In regard to this error the files are online on my host server, so this can't be the problem? line 16 in fpss.php relates to:-

require_once(dirname(__FILE__).DS.'slideshows'.DS.$slideshow.DS.'parameters.php');

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines