PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Installation & Upgrades (http://www.photopost.com/forum/classifieds-installation-upgrades/)
-   -   install error (http://www.photopost.com/forum/classifieds-installation-upgrades/148885-install-error.html)

horusbird October 27th, 2012 01:42 PM

install error
 
Warning: rename(D:\vhosts\vesparesources.com\httpdocs\pp-classifieds\install/config-inc.php.NEW,D:\vhosts\vesparesources.com\httpdocs\pp-classifieds\install/config-inc.php) [function.rename]: No such file or directory in D:\vhosts\vesparesources.com\httpdocs\pp-classifieds\install\install.php on line 124

Unable to find D:\vhosts\vesparesources.com\httpdocs\pp-classifieds\install/config-inc.php; please rename config-inc.php.NEW to config-inc.php to proceed.

:confused:

why look for config.inc.php in the install dir?

Chuck S October 27th, 2012 02:12 PM

Okay two things one the install instructions are here

PhotoPost PHP Photo Sharing Photo Gallery Installation Guide

I would suggest all directories and files noted have the proper permissions.

On the first step of install enter the path to your install as

D:/vhosts/vesparesources.com/httpdocs/pp-classifieds/install

That should make it work on windows as long as permissions are right. Server paths are always forward slashes. Only on a windows computer is a path backslashes.

horusbird October 27th, 2012 02:40 PM

Quote:

Originally Posted by Chuck S (Post 1303792)
Okay two things one the install instructions are here

PhotoPost PHP Photo Sharing Photo Gallery Installation Guide

I would suggest all directories and files noted have the proper permissions.

On the first step of install enter the path to your install as

D:/vhosts/vesparesources.com/httpdocs/pp-classifieds/install

That should make it work on windows as long as permissions are right. Server paths are always forward slashes. Only on a windows computer is a path backslashes.


the problem is that my server is windows, the installation work if at line 120 of install.php change

$ thisdir = str_replace ("/ install", "", $ thisdir);
with
$ thisdir = str_replace ("\ install", "", $ thisdir);

but in all stages of installation there are problems, I do not think it says in the instructions that must reside on linux server ... :mad:

Chuck S October 27th, 2012 04:19 PM

You must use forward slashes

I have installed on windows many times using forward slashes work fine and are what you must use in CODE. Backslashes are stripped from mysql so using forward slashes solves all those issues also when including files in PHP using require or include you must use forward slashes.

I was saying that only in the windows computer do you find use of backslashes.

Chuck S October 28th, 2012 11:21 AM

If you need me to look at what is going on feel free to use the contact us link in our header sent a url and ftp info and I can look at what your doing.

horusbird October 29th, 2012 02:29 AM

2 Attachment(s)
Quote:

Originally Posted by Chuck S (Post 1303799)
If you need me to look at what is going on feel free to use the contact us link in our header sent a url and ftp info and I can look at what your doing.

After editing the file install.php and changing some slash I was able to install and run well pp-classifieds.
But I have another problem, after import the xml file in vbulletin, I only have the menu in the top bar (navigation manager) but not the traditional one. I wish that as photopst appeared in both, as I do?
thanks.

Chuck S October 29th, 2012 07:25 AM

Well what I have said there was no need to edit the code but glad you got it to install. I have installed on many windows setups and never had to edit code.

If you are running Photopost with vb4 the navigation is in the vb navbar. Your trying to show both the old pp navbar and the same navbar in the vb also?

Chuck S October 30th, 2012 05:10 PM

My response as far as scripting would be that this line in install.php

Code:

Content visible to verified customers only.
would be to replace with this

Code:

Content visible to verified customers only.


All times are GMT -5. The time now is 07:06 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