PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   PLEASE HELP - Moved my forum from (http://www.photopost.com/forum/classifieds-installation-upgrades/124491-please-help-moved-my-forum.html)

horsetrailertalk April 18th, 2006 01:03 PM

PLEASE HELP - Moved my forum from
 
www.horsetrailertalk.com to www.horsetrailertalk.com/forum

Now I get these errors on the pp-classified section

Warning: main(/forum/header-inc.php): failed to open stream: No such file or directory in /home/content/t/r/a/trailertalk1/html/pp-classifieds/config-inc.php on line 11

Warning: main(/forum/header-inc.php): failed to open stream: No such file or directory in /home/content/t/r/a/trailertalk1/html/pp-classifieds/config-inc.php on line 11

Warning: main(): Failed opening '/forum/header-inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/t/r/a/trailertalk1/html/pp-classifieds/config-inc.php on line 11

Zachariah April 18th, 2006 01:11 PM

photopost/config-int.php
- Update PATHs and URLs of the new forums location.

horsetrailertalk April 18th, 2006 01:19 PM

would the /home/content/t/r/a/trailertalk1/html/pp-classifieds/config-inc.php

now be /home/forum/content/t/r/a/trailertalk1/html/pp-classifieds/config-inc.php

since i just moved it?

Chuck S April 18th, 2006 01:38 PM

/home/content/t/r/a/trailertalk1/html/forum/pp-classifieds

horsetrailertalk April 18th, 2006 01:48 PM

Still getting:

Warning: main(/header-inc.php): failed to open stream: No such file or directory in /home/content/t/r/a/trailertalk1/html/forum/pp-classifieds/config-inc.php on line 11

Warning: main(/header-inc.php): failed to open stream: No such file or directory in /home/content/t/r/a/trailertalk1/html/forum/pp-classifieds/config-inc.php on line 11

Warning: main(): Failed opening '/header-inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/t/r/a/trailertalk1/html/forum/pp-classifieds/config-inc.php on line 11

horsetrailertalk April 18th, 2006 01:51 PM

http://www.horsetrailertalk.com/forum/pp-classifieds/

horsetrailertalk April 18th, 2006 01:53 PM

what about the images that have been uploaded?

Chuck S April 18th, 2006 01:57 PM

Here is every place you need to change

In config-inc.php change the $PP_PATH variable to the correct path

In config-int.php change all the variables to the correct paths and urls

In admin you need to update your global options with all the new server paths and urls

horsetrailertalk April 18th, 2006 02:11 PM

how can i access the admin now....

what would the url be?

Chuck S April 18th, 2006 02:16 PM

I would suggest you use phpmyadmin and change these in the settings table.

Or

You can move the classifieds back to its original location update the global options which will break the program but dont worry then move it and update the config files and you should be good to go

Pick which one you think is easiest but those are the 2 ways I know of.

horsetrailertalk April 18th, 2006 02:40 PM

OK...I moved it all back...changed the directories back...and I still get this:

Warning: main(/header-inc.php): failed to open stream: No such file or directory in /home/content/t/r/a/trailertalk1/html/pp-classifieds/config-inc.php on line 11

Warning: main(): Failed opening '/header-inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/content/t/r/a/trailertalk1/html/pp-classifieds/config-inc.php on line 11



Should I have back slashes at the end?? What am I missing?

horsetrailertalk April 18th, 2006 03:38 PM

Anyone still around?

Chuck S April 18th, 2006 04:07 PM

Your config files need to be updated to the new paths after you change the admin paths and move the directory to the new spot. If you moved the directory to the new path under forums update your config files need to be updated next with the proper information. You should be fine then.

horsetrailertalk April 18th, 2006 04:10 PM

I stated that I moved everything back and thought I changed the config files back. All I had to do was remove the "forum" out of the paths.

However it is still generating those errors

horsetrailertalk April 18th, 2006 04:13 PM

// We need to know the server paths to both your vB installation and your Classifieds installation
$vbpath = "/home/content/t/r/a/trailertalk1/html";
$pppath = "/home/content/t/r/a/trailertalk1/html/pp-classifieds";

// We need the URL path to your PhotoPost and vb installation
$class_path = "http://www.horsetrailertalk.com/pp-classifieds";
$vb_urlpath = "http://www.horsetrailertalk.com";

//

horsetrailertalk April 18th, 2006 04:15 PM

<?php
//**************** External Header Configuration ****************//
//
// the isset prevents vB headers from being sent during login/logout -
// do not remove this line as it may cause the vB headers to interfere with the login/logout process
//
// To include the file, first edit the header-inc.php
//

if ( !isset($skip_exheader) ) {
include "/header-inc.php";
}

// PhotoPost Classifieds Pro Version Number
$VERSION = "2.5";

// Path to your PhotoPost Classifieds installation - no end slashes
$PP_PATH = "/home/content/t/r/a/trailertalk1/html/pp-classifieds";

//

horsetrailertalk April 18th, 2006 04:16 PM

I am not seeing what I need to change...I see that it all looks correct now

Chuck S April 18th, 2006 04:26 PM

There is a slash in front of header-inc.php and there should not be in your config-inc.php

horsetrailertalk April 18th, 2006 04:31 PM

That did it...great.

Thanks

I knew i just wasn't seeing something


All times are GMT -5. The time now is 07:56 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97