Previous Thread
Next Thread
Print Thread
Hop To
#22186 12/25/2001 7:07 AM
Anonymous
Unregistered
Anonymous
Unregistered
I'm trying to import my old UBB 5.47 board into my new UBBThreads board. Problem is, it tells me my absolute paths for the UBB files are wrong even though I copied and pasted the paths directly from my UBB General Settings panel. Is there anything at all I can do or is it just too damn bad?

Happy Holidays.

#22187 12/25/2001 10:14 AM
Anonymous
Unregistered
Anonymous
Unregistered
Nevermind... I solved the problem.

#22188 01/28/2002 10:50 PM
Anonymous
Unregistered
Anonymous
Unregistered
I am having the same problem - how do you get it to work?

#22189 01/28/2002 11:00 PM
Anonymous
Unregistered
Anonymous
Unregistered
Open the top of the script and where it says:

$ubb5 = 0;

change the 0 to a 1.

<img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Honor The Victims

#22190 01/28/2002 11:08 PM
Anonymous
Unregistered
Anonymous
Unregistered
I still get the same problem.

#22191 01/28/2002 11:24 PM
Anonymous
Unregistered
Anonymous
Unregistered
I am upgrading from UBB 5.45 - would that have anything to do with it?

Anonymous
Unregistered
Anonymous
Unregistered
To import from UBB 5.4x:

1) Open ubbimport.php in an editor and change $ubb5 = 0; to $ubb5 = 1;

2) Edit ubbimport.cnf.php to add membersdir, cgi path, noncgi path, and variables path

3) Run the script with ubbimport.php?ubb=members

#22193 01/29/2002 10:14 AM
Anonymous
Unregistered
Anonymous
Unregistered
It looks like those things are basically there already. Do I edit them to change what's there to what you said or add completely new lines in addition to what was already there? In other words, what should the file actually look like once it's edited?

#22194 01/29/2002 11:04 AM
Anonymous
Unregistered
Anonymous
Unregistered
Here an example:

</font><blockquote><font size="1" face="">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"><?PHP

$membersdir = "/home/sites/home/web/cgi-bin/ubb/Members";
$cgi = "/home/sites/home/web/cgi-bin/ubb";
$noncgi = "/home/sites/home/web/ubb";
$variables = "/home/sites/home/web/cgi-bin/ubb";

?>[/code]</blockquote><font size="" face="">

#22195 02/02/2002 12:39 PM
Anonymous
Unregistered
Anonymous
Unregistered
</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by Philipp:
To import from UBB 5.4x:

1) Open ubbimport.php in an editor and change $ubb5 = 0; to $ubb5 = 1;

2) Edit ubbimport.cnf.php to add membersdir, cgi path, noncgi path, and variables path

3) Run the script with ubbimport.php?ubb=members</font><hr /></blockquote><font size="" face="">Trying to transfer members and forums from UBB 6.2 to my new UBBThreads install, but I'm getting the following errors:
Warning: open_basedir restriction in effect. File is in wrong directory in /usr/local/psa/home/vhosts/backstagejbj.com/httpdocs/ubbthreads/ubbimport.php on line 238

Warning: Supplied argument is not a valid Directory resource in /usr/local/psa/home/vhosts/backstagejbj.com/httpdocs/ubbthreads/ubbimport.php on line 239

Warning: Supplied argument is not a valid Directory resource in /usr/local/psa/home/vhosts/backstagejbj.com/httpdocs/ubbthreads/ubbimport.php on line 243


I've checked & double checked the dirs. as well as copy & paste them from my old CP. Could it be file or dir. premissions? What should they be in order to get this working?

Thanks!

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Scott your php.ini isn't allowing it. You needen't modify the script. I'm trying to determine the .ini setting you need to modify. I'll reply back in your trouble ticket.

Honor The Victims

Anonymous
Unregistered
Anonymous
Unregistered
</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by David Dreezer:
Scott your php.ini isn't allowing it. You needen't modify the script. I'm trying to determine the .ini setting you need to modify. I'll reply back in your trouble ticket.

<a href="http://www.honorthevictims.com" target="_blank">Honor The Victims</a></font><hr /></blockquote><font size="" face="">David...maybe this is the problem...UBBthreads/ is in the httpdocs root. The old 6.2 UBB is in cgi-bin/ubbcgi/

Would that make a difference? I added the following in my vhost.conf file:

<Directory /usr/local/psa/home/vhosts/backstagejbj.com/httpdocs>
php_admin_value open_basedir "/usr/local/psa/home/vhosts/backstagejbj.com:/tmp"
php_admin_value upload_tmp_dir /tmp
</Directory>

This should allow php to write to anything in the vhost root. Am I wrong in running ubbimport.php from the ubbthreads root?

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
No, that is where it belongs. Just where you have it.

Did that change work for you?

Honor The Victims

Anonymous
Unregistered
Anonymous
Unregistered
Look like you are running PLESK

A possible workaround (Make a backup first):
Open httpsd.conf (which is in /usr/local/plesk/apache/conf or /usr/local/psa/apache/conf directory) in an editor and remove the PHP directive of open_basedir in your domain.

Then restart PLESK with /usr/local/plesk/apache/bin/httpsdctl restart or /usr/local/psa/apache/bin/httpsdctl restart

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)