vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Joomla for vBulletin (IMPORTANT UPDATE) - Bridge to the World's Most Popular CMS (https://vborg.vbsupport.ru/showthread.php?t=145781)

Michael Morris 06-04-2007 06:11 PM

Quote:

Originally Posted by AK47 Nemesis (Post 1260921)
One more error:


Warning: Unknown(./includes/class_bbcode.php): failed to open stream: No such file or directory in /member.php(817) : eval()'d code on line 292

Fatal error: (null)() [function.require]: Failed opening required './includes/class_bbcode.php' (include_path='.:/usr/local/lib/php') in /home/gsclan/domains/teamqg.com/public_html/qg/member.php(817) : eval()'d code on line 292

Happens when i visit a forum profile...

vJoomla has no plugins in member.php. Do you have any other plugins running?

Wais 06-04-2007 06:13 PM

Yes but the Problem is that i cant Login so i cant uninstall anything.

Wais 06-04-2007 06:34 PM

Okay ive made it xDI only add the field "joomla_registered"to my MySQL Database in the Table vBUser

imported_hbs 06-04-2007 08:50 PM

If I allready have joomla & vbulletin installed on the same db what do I have to do to integrate vjoomla?
Do I just need to import the XML or do I have to change some joomla files as well?

Michael Morris 06-04-2007 09:58 PM

Quote:

Originally Posted by imported_hbs (Post 1261314)
If I allready have joomla & vbulletin installed on the same db what do I have to do to integrate vjoomla?
Do I just need to import the XML or do I have to change some joomla files as well?

vJoomla modifies around 11 Joomla files, but beyond that it also does some setup work of modifying vbulletin tables while installing Joomla (it maps the Joomla usergroups to the vbulletin usergroups). If you're comfortable getting under the hood I can provide a changeover path - but you will need to test this before doing it to your production machine, ok?

SecTa 06-04-2007 10:00 PM

trying to install it on localhost, getting error during installation (step 1):

Code:

Fatal error: Call to undefined function: str_split() in C:\wamp\www\forum\joomla\installation\install2.php on line 29
forum path i've set is C:\wamp\www\forum
tried also http://localhost/forum/

Michael Morris 06-04-2007 10:29 PM

Ack - str_split is PHP 5 >

Ok, here's a patch file that creates a str_split function for PHP 4 servers. Upload it to the /installation directory overwriting the current common.php file there. I will include it in RC2.

Mikhailtech 06-04-2007 10:49 PM

Can't seem to install it. Stuck on step 1. Getting these errors soon as I give joomla a path to the forums (if I use the one already written there it says forums not found) :


Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/installation/install2.php on line 60

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/xxx/public_html/installation/install2.php on line 62

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/installation/install2.php on line 62


BTW I'm doing this with RC1 using the updated common.php file.

Michael Morris 06-04-2007 11:00 PM

Quote:

Originally Posted by Mikhailtech (Post 1261357)
Can't seem to install it. Stuck on step 1. Getting these errors soon as I give joomla a path to the forums (if I use the one already written there it says forums not found) :


Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/installation/install2.php on line 60

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/xxx/public_html/installation/install2.php on line 62

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/installation/install2.php on line 62


BTW I'm doing this with RC1 using the updated common.php file.

What is the exact path you are entering? Are you including a trailing slash? (You shouldn't).

Mikhailtech 06-04-2007 11:02 PM

This is the path that joomla automatically puts for me:

/home/xxx/public_html/forum/includes/config.php

Michael Morris 06-04-2007 11:29 PM

Delete the includes/config.php part of that. Odd that it isn't doing that on Windows but it is on Unix.

Mikhailtech 06-04-2007 11:46 PM

If I do that I get these errors:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/installation/install2.php on line 60

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/xxx/public_html/installation/install2.php on line 62

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/installation/install2.php on line 62

Luky 06-05-2007 01:38 AM

Quote:

Originally Posted by Michael Morris (Post 1261011)
From which beta?

Uh, the one that came out when i pmd you, on the file it says vJoomla Beta 0.2 it was when installer was released i think.

Mikhailtech 06-05-2007 01:46 AM

So RC1 is busted too eh? Why on earth would an installer link to /includes/config.php when it's looking for a forum path, not a file?

Luky 06-05-2007 01:49 AM

Quote:

Originally Posted by Mikhailtech (Post 1261456)
So RC1 is busted too eh?

Try doing what i said earlier.

Goto yourdomain.com/installation/install.php and it should work? Worked for me.

Mikhailtech 06-05-2007 02:06 AM

That's not my problem. I get stuck on step 2. No matter what I put in for the forum path I either get the errors I mentioned above or "forum not found".

Quantnet 06-05-2007 03:53 AM

Michael,
Can you install some styles other than the default so we can see how different styles look ?
Thanks

jimmywash 06-05-2007 04:01 AM

Installed everything with out issues and was able to login, navigate my admincp. Logged out and then tried to login again and got the following error:

Warning: chdir(): No such file or directory (errno 2) in /mnt/Target01/333535/333536/www.musicbygoat.com/web/content/login.php on line 4

Using vbulletin_3-6-7

Any suggestions??

Sweet mod btw......Love that I can take advantage of joomla addons w/ out having to learn their template system.

WarLion 06-05-2007 05:00 AM

it works like a charm i have thiis site for test only and work pretty good hanks foor this
www.warlionhosting.com/jomla
www.warlionhosting.com/jomla/foro

this is with 3.6.7 pl

remember for tha user with problems in the login you have to edit your navbar first

Luky 06-05-2007 06:45 AM

Quote:

Originally Posted by Mikhailtech (Post 1261473)
That's not my problem. I get stuck on step 2. No matter what I put in for the forum path I either get the errors I mentioned above or "forum not found".

Say your username for cpanel is username and your directory for vbulletin is vb, this would be your path:
/home/username/public_html/vb
Atleast on unix, which you most likely are on.

Michael Morris 06-05-2007 12:34 PM

Quote:

Originally Posted by Mikhailtech (Post 1261456)
So RC1 is busted too eh? Why on earth would an installer link to /includes/config.php when it's looking for a forum path, not a file?

It determines the forums exist by looking for their config file. That the config file gets placed on the line is a mistake yes, but that's part of the reason the user is required to verify that the path is correct. If you feed it a path to a specific file then it's as much your fault for not paying attention as it is mine for letting that glitch through. I'll correct the glitch on RC2 but you need to watch the paths that come up during the install - I'm trying to help by having the computer make an educated guess but an educated guess is still that - a guess.

Mikhailtech 06-05-2007 12:53 PM

Ok that's fine, and yes the forum path is correct. But when I get rid of the /includes/config.php part of the path and hit next, I get these errors:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/installation/install2.php on line 60

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/xxx/public_html/installation/install2.php on line 62

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/installation/install2.php on line 62


Any guesses? Is the syntax/path (to look for ./global.php) correct? I'm not big on php but it seems to me like it's not finding that file for some reason.


EDIT: I just looked at lines 60-62 and I see the "dirsplit" thing you were talking about that is for php5. I'm running php4. I've uploaded the updated common.php file like you said, but it's still doing the same thing. I'm wondering if the two are connected (again it appears that it just can't find the file).

Michael Morris 06-05-2007 01:13 PM

Quote:

Originally Posted by Mikhailtech (Post 1261729)
Ok that's fine, and yes the forum path is correct. But when I get rid of the /includes/config.php part of the path and hit next, I get these errors:

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/xxx/public_html/installation/install2.php on line 60

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/xxx/public_html/installation/install2.php on line 62

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/installation/install2.php on line 62


Any guesses? Is the syntax/path (to look for ./global.php) correct? I'm not big on php but it seems to me like it's not finding that file for some reason.

Dump the cache and cookies, then start over.

Mikhailtech 06-05-2007 01:26 PM

You mean deleting temp internet files/cookies from my local machine? Did that. Still getting the errors. Have you tested the fix?

Michael Morris 06-05-2007 01:31 PM

Yes or I wouldn't have released it. Works fine on my machine, seems to be working on others, so I'm out of ideas.

Mikhailtech 06-05-2007 01:34 PM

I've contacted my host about this, but looking at the errors, am I right in assuming it's looking for this "global.php" file? And where is it "supposed" to be located? In one of the public directories? Or the php library or whatever it's looking for?

Luky 06-05-2007 03:03 PM

Quote:

Originally Posted by Michael Morris (Post 1261752)
Yes or I wouldn't have released it. Works fine on my machine, seems to be working on others, so I'm out of ideas.

I also think some people are.. $#@$#@$. Well i will write a tutorial on how to get it to work for them and to thank you :)

Luky 06-05-2007 03:54 PM

Quote:

Originally Posted by Luky (Post 1261793)
I also think some people are.. $#@$#@$. Well i will write a tutorial on how to get it to work for them and to thank you :)

http://www.alchemist-team.net/vjoomla.html <- Is that correct? Its how i did it.

Mikhailtech 06-05-2007 03:58 PM

Michael - it's now working.

This is probably something I missed earlier in the thread, but my host helped me figure out what was wrong. I have a custom name for my admincp directory (for security reasons) and I had to go back and update all the installx.php files to reflect this accordingly. I know a lot of people have specific names for their admin directories. It's up to you, but you may want to make a note about that - that if you have a custom admincp directory name, you'll have to manually enter it into all of the installx.php files.

Also, a question about the Joomla install. During the install, it told me to make a bunch of directories writable. According to my host, having some of these writable opens my server up to attacks. Do these directories need to remain writable once the installation is complete?

And finally, you said you need to make copies of the images, clientscript, and cpstyles folders and place them in the joomla directory (root for most websites). Does this mean that any time changes are made to any of these folders (such as during vb version upgrades) I will need to re-copy the folders again?

EDIT: would you prefer support/issue questions to be posted here or in the vJoomla forum?

Luky 06-05-2007 04:21 PM

If you have an intelligent and secure host, you will have phpsurexe or what ever it is called. Then you will only need to chmod folders that files will be saved to, like attachments. In joomlas case, its not needed to CHMOD with phpsurexe.

Michael Morris 06-05-2007 05:43 PM

Sorry about that. I'll add support for alternate admincp directory names in RC2. I'll probably put it out tonight - that's two significant issues with the installer.

Other than that thing though, has anyone had problems with items other than the installer?

Michael Morris 06-05-2007 05:57 PM

Quote:

Originally Posted by Mikhailtech (Post 1261833)
Michael - it's now working.

This is probably something I missed earlier in the thread, but my host helped me figure out what was wrong. I have a custom name for my admincp directory (for security reasons) and I had to go back and update all the installx.php files to reflect this accordingly. I know a lot of people have specific names for their admin directories. It's up to you, but you may want to make a note about that - that if you have a custom admincp directory name, you'll have to manually enter it into all of the installx.php files.

I will change this with RC2 - it is a significant issue. I'm sorry I overlooked it and appreciate your patience with this matter.

Quote:

Also, a question about the Joomla install. During the install, it told me to make a bunch of directories writable. According to my host, having some of these writable opens my server up to attacks. Do these directories need to remain writable once the installation is complete?
They need to be writable at the time Joomla is installing or uninstalling modules and components. You can chmod them to be unwriteable most other times - though be aware that vJoomlaRecentThreads and vJoomlaWho'sOnline won't be able to cache results if you do (they will not publically error when this occurs though).

For best security you can make the directories unwritable except when you are installing or uninstalling modules, mambots and components in the vJoomla admininstrator.

Quote:

And finally, you said you need to make copies of the images, clientscript, and cpstyles folders and place them in the joomla directory (root for most websites). Does this mean that any time changes are made to any of these folders (such as during vb version upgrades) I will need to re-copy the folders again?
If you have a Linux or Unix server you have the alternative of creating a symbolic link to those directories. If you do this you must include an .htaccess file with the Allow Symlinks directive turned on AND the server needs to be setup to parse that .htaccess file (most are). The creation of symbolic links is a fairly technical process.

Quote:

EDIT: would you prefer support/issue questions to be posted here or in the vJoomla forum?
Either location is fine by me, I check both regularly.

VivaLaPinkowitz 06-05-2007 06:16 PM

I have tried EVERYTHING and cannot get input the right "forum path" for the installer to locate it. Any ideas?

I have it set up to a subdomain, http://forums.pinkowitz.org, and told it to go there. For the subdomain I inputted:

http://forums.pinkowitz.org
forums.pinkowitz.org
forums.pinkowitz.org/includes/config.php

None of those worked. I then tried copying the vBulletin folder into my vJoomla subdirectory, accessible at http://pinkowitz.org/vBulletin. I then tried to no amise:

http://pinkowitz.org/vBulletin
pinkowitz.org/vBulletin
pinkowitz.org/includes/config.php

I'm stumped. Any and all help would be appreciated :)

Michael Morris 06-05-2007 06:43 PM

You seem to be confusing internal and external paths. On a linux machine the complete internal path will start with a /. On Windows it will start with a drive letter, such as c:\

You must provide the internal path from the root of the drive to get the script to work. For example

/var/www/sites/pinkowitz.org/subdomains/www/ for Joomla and
/var/www/sites/pinkowitz.org/subdomains/forum/ for vbulletin, and so on.

One way to discover the path is to create a new php file in your forum with this code
PHP Code:

<?php echo dirname(__FILE__); ?>

Visit the file in your browser and copy whatever appears to the vJoomla installer.

thenewuser 06-05-2007 06:45 PM

Can someone plz post screen shots of the admin interface? Is this a CMS?

VivaLaPinkowitz 06-05-2007 06:54 PM

/homepages/13/xxx/htdocs/xxx

is what returns when I make the php file and access it. The installation proceeds but then results to a white login screen, which differs from the normal blue login screen. When I continue to log in, I get a 500 Server Error.

Any clue as to why?

EDIT: I'm going to try to put it in the same directory as vJoomla. Hopefully that'll work.
EDIT 2: Nope. Still getting the white screen. A funny thing I noticed though is when I scroll over "Pinkowitz.org Forums" on the white login screen, its location is pinkowitz.org/index.php when it should be forums.pinkowitz.org/index.php. Any ideas as to why this is?

Michael Morris 06-05-2007 08:20 PM

Quote:

Originally Posted by VivaLaPinkowitz (Post 1261959)
/homepages/13/d201174536/htdocs/vBulletin

is what returns when I make the php file and access it. The installation proceeds but then results to a white login screen, which differs from the normal blue login screen. When I continue to log in, I get a 500 Server Error.

Any clue as to why?

EDIT: I'm going to try to put it in the same directory as vJoomla. Hopefully that'll work.
EDIT 2: Nope. Still getting the white screen. A funny thing I noticed though is when I scroll over "Pinkowitz.org Forums" on the white login screen, its location is pinkowitz.org/index.php when it should be forums.pinkowitz.org/index.php. Any ideas as to why this is?

You MUST log into you admincp before starting the Installer or it will not work beyond step one.

Michael Morris 06-05-2007 08:21 PM

Quote:

Originally Posted by thenewuser (Post 1261953)
Can someone plz post screen shots of the admin interface? Is this a CMS?

http://demo.joomla.org/demo10/

They have a demo of the interface there. vJoomla isn't markedly different than Joomla in this regard.

VivaLaPinkowitz 06-05-2007 08:25 PM

Quote:

Originally Posted by Michael Morris (Post 1261997)
You MUST log into you admincp before starting the Installer or it will not work beyond step one.

I am logged into admincp in a different window. Am I doing something incorrectly?

Michael Morris 06-05-2007 08:54 PM

Hmm... Your login might have timed out. Try reloading the page and seeing if you are prompted to log in. If that isn't the problem then the cookie domain setting is probably the monkey in the works, and I'm not sure that's solvable.


All times are GMT. The time now is 07:38 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02135 seconds
  • Memory Usage 1,854KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete