Previous Thread
Next Thread
Print Thread
Rate Thread
#273925 05/25/2004 7:14 PM
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803


I moved the 3 files to the includes folder and I got the uploads.php file.

all I get is
[] Please make sure you have moved main.inc.php, config.inc.php and theme.inc.php into your includes directory as one or more of the mentioned files are missing. [/]

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Check permissions on the includes directory and on the files. If the permissions are not wide enough, PHP will report the files to be missing.


UBB.classic: Love it or hate it, it was mine.
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
just so I know im not going crazy

where do I put the update.php file? In the includes dir or in the install dir?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
update.php does not get moved - leave it in the install directory. You're only moving the config files (config.inc.php, main.inc.php and theme.inc.php)

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
ok, call me the village idiot!

I didnt see the install dir so I was tring to do /.../upgrade.php.

DOH!

Sponsored Links
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
stuck again?

I started over to make sure I was doing everything correct.
I uploaded all the files and moved the 3 files to the correct dir. now when I go to site/forums/install it bring me to the correct page asking the 2 questions. new install or upgrading. I choose "If you are upgrading UBB.threads™ from a previous version, Go here" and it brings up a white, blank page. the permissions on the file is set to 777 just to make sure I can access it.

It tries to open up ungrade.php and thats the white page thats blank...

If I choose the other it show me that all the files are writable and wants to do a new install.

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Did you move your actual config.inc.php, main.inc.php and theme.inc.php into the includes directory, meaning the ones that are all filled in with the paths and variables or did you move the empty ones that come with the installation? Make sure you have moved the ones that were in place for 6.4.2.


UBB.threads Developer
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
ya. I made sure to move the original ones into there.

just checked it again.

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Ok, maybe we need to debug a little. Edit your install/upgrade.php file. Line 25 looks like this:

$check = @include ("../includes/main.inc.php");

Change that, to this:

$check = include ("../includes/main.inc.php");

Try going into the upgrade area again and see what, if any, errors are displayed.


UBB.threads Developer
Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
That happened to me, but I had change permissions on the includes directory and make sure I moved my original files there, overwriting the ones included with the package.

Now it works past there.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
What version are you upgrading from. I had this problem but hadn't yet run the update (UPGRADING.html) to get myself to the latest 6.4.1 database structure.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
im upgradeing from 6.4.2

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
When I do what scream said I get this...

[]Warning: main(/home/site/public_html/config.inc.php): failed to open stream: No such file or directory in /home/site/public_html/ubbt.inc.php on line 43 [/]

thats only when I click on upgrade. If I click on new install it works perfectly.

Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
weaird error I had I had to trick the upgrader.. it kept looking for the cp image files which of course are there in the images/cp directory so I moved em into the images directory then back into the images/cp directory...otherwise its fine.

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Chaos. What do you have for your $configdir and $thispath variables in your main.inc.php file? It seems to be looking for your config.inc.php file in a different directory other than the includes directory. It sounds as if the variables in the main.inc.php file were setup for a custom directory for the config.inc.php file. You might want to check that your $configdir is the same as $thispath.


UBB.threads Developer
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Yes, there is an issue with the images that are in the cp directory. Thought I had it fixed before b1 was released but unfortunately it slipped by.


UBB.threads Developer
Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
thats okay i cheated and its all good now and am modding away atm...

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
I checked the main.inc.php and the dir is set correctly. "/home/halo/public_html";

I made sure they are both set to be the same. One had a trailing slash. when I removed it I get this error now when I click on upgrade...

[] We cannot proceed.

Script: /home/halo/public_html/ubbt.inc.php
Line#: 1563
SQL Error: No Database Selected
SQL Error #: 1046
Query: SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number, U_Banned,U_LastOn FROM w3t_Users WHERE U_Number = '43'

Please use your back button to return to the previous page.

[/]

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
Did you upload all the new php files in the ubbthreads directory? I sometimes upload all the subdirectories but forget to upload all the files that are in /ubbthreads

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
ya. I checked the upload logs and verified each file was uploaded.

this is the contents of my main.inc.php file.

[]<?

// THIS NEEDS TO BE SET, OTHERWISE ADMIN SCRIPTS WILL NOT WORK
// THIS IS THE ACTUAL PATH TO YOUR PHP INSTALLATION
$thispath = "/home/halo/public_html";

// PATH TO YOUR config.inc.php file. BY DEFAULT THIS IS THE
// SAME AS $thispath, BUT IF YOU MOVE config.inc.php TO ANY
// OTHER LOCATION YOU MUST SPECIFY IT HERE.
$configdir = "/home/halo/public_html";

// DO NOT EDIT ANYTHING BELOW THIS LINE!
include("$thispath/ubbt.inc.php");

// Page load times
$timea = getmicrotime();

?> [/]

IN reference to this error:
[]We cannot proceed.

Script: /home/halo/public_html/ubbt.inc.php
Line#: 1563
SQL Error: No Database Selected
SQL Error #: 1046
Query: SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number, U_Banned,U_LastOn FROM w3t_Users WHERE U_Number = '43'

Please use your back button to return to the previous page.
[/]

this is line 1563
[] $sth = $dbh -> do_query($query,__LINE__,__FILE__); [/]



Joined: Oct 2003
Posts: 2,305
Old Hand
Old Hand
Joined: Oct 2003
Posts: 2,305
what version you upgrading from?

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
6.4.2

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
No database selected. You might want to look at your config.inc.php file and make sure that it has your database info in it.


UBB.threads Developer
Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
[]DrChaos said:
ya. I checked the upload logs and verified each file was uploaded.

this is the contents of my main.inc.php file.

[]<?

// THIS NEEDS TO BE SET, OTHERWISE ADMIN SCRIPTS WILL NOT WORK
// THIS IS THE ACTUAL PATH TO YOUR PHP INSTALLATION
$thispath = "/home/halo/public_html";

// PATH TO YOUR config.inc.php file. BY DEFAULT THIS IS THE
// SAME AS $thispath, BUT IF YOU MOVE config.inc.php TO ANY
// OTHER LOCATION YOU MUST SPECIFY IT HERE.
$configdir = "/home/halo/public_html";

// DO NOT EDIT ANYTHING BELOW THIS LINE!
include("$thispath/ubbt.inc.php");

// Page load times
$timea = getmicrotime();

?> [/]
[/]
Should be $configdir = "/home/halo/public_html/includes"
Since the config.inc.php is now in an includes directory.

Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Actually, the paths are ok. The ubbt.inc.php adds the /includes when it executes. We didn't want everyone to have to edit their main.inc.php because most people never touch it, so it handles that part


UBB.threads Developer
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
bah, I thought that was it.

Im still looking. I want to get it to work on the test forums before i try to install it on the public one.

can you smell a disaster.....

Joined: Aug 2000
Posts: 1,290
Addict
Addict
Offline
Joined: Aug 2000
Posts: 1,290
This might be way off base, but what about using 755 instead of 777? Some servers run suexec and 777 is not permitted?


- Custom Web Development
http://www.JCSWebDev.com
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
You've definitely got something odd going on there. That error is coming from the authenticate() function. That function should never get executed when doing an upgrade. All user authentication for upgrading is done by scripts in the install directory since we can never rely on the authenticate() function working on a new version before the altertables have been run.

So, first I'd double check your config.inc.php file. Make sure that all database info has been filled out. If everything looks good there then perhaps later this afternoon I can take a look if you can give me your server info via PM or email so I can get in and do some debugging.


UBB.threads Developer
Joined: Oct 2002
Posts: 108
Journeyman
Journeyman
Offline
Joined: Oct 2002
Posts: 108
What do we need to change in IIP to work with 6.5, I forgot what we did in prior updates

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
I think I found it. When I edited the config to show the path. I added a space. might just get it working

how did you get it to show the images in the cp?
Im errored at that point. I removed tham and then loaded them again. Even gave them a 777???

Last edited by DrChaos; 05/26/2004 11:24 AM.
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Actually I'm not sure about getting it to work with IIP, but I know that's been discussed in another forum here.


UBB.threads Developer
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Basically, you need to copy the images from the images/cp directory into the images directory as well so they exist in both directories. That was a mixup on my part that I didn't get fixed for b1.


UBB.threads Developer
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
done thanks.
that was the easy part.

I just might have it
(im such a nu-b)

Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Use the 6.5 version of IIP. It has a moved thread marker in modifications, and it is at the top of the Forum Design Integration forum.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]gblue said:
What do we need to change in IIP to work with 6.5, I forgot what we did in prior updates [/]

You need to upgrade to the version of IIP which is designed to work with 6.5.

Joined: Oct 2001
Posts: 102
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 102
[]Scream said:
Actually I'm not sure about getting it to work with IIP, but I know that's been discussed in another forum here. [/]

Installed the latest version of IIP and it worked like a charm. Great job!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 254
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)