PDA


View Full Version : I know what the problem is, I just don't know how to fix it


southernlady
06-12-2005, 06:57 AM
My home page is www.mysouthernlady.com but the forum's page is www.mysouthernlady.com/forum/index.php? So when I did the chdir('/home/yoursite/public_html/forum'); part, I did it to my home page, the one that takes it to mysouthernlady.com

Now that's exactly where I WANT my portal to be so how do I make this work?

Right now, when I go to my forum page, I get this:
Warning: main(./global.php): failed to open stream: No such file or directory in /home/hsphere/local/home/southern/mysouthernlady.com/forum/index.php on line 33
Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/hsphere/local/home/southern/mysouthernlady.com/forum/index.php on line 33

I can log into the admin panel just fine. Liz

Brian
06-12-2005, 12:31 PM
The chdir line needs to be set to the path to your forum.

southernlady
06-12-2005, 05:53 PM
But that doesn't solve the problem of what I WANT to do. I want my portal on www.mysouthernlady.com NOT www.mysouthernlady.com/forums so how can I upload it to do that?

And reading the manual is not something I do well. I am more of a visual person. There are some of us out here. Liz

LEAD_WEIGHT
06-12-2005, 07:10 PM
But that doesn't solve the problem of what I WANT to do. I want my portal on www.mysouthernlady.com NOT www.mysouthernlady.com/forums so how can I upload it to do that?

And reading the manual is not something I do well. I am more of a visual person. There are some of us out here. Liz

This is the read me file u get when u unrar/zip :)

Step 3 - Upload Files
Upload the new vBadvanced CMPS files and your modified vBulletin files to the directories listed below.

root folder - cmps_index.php (you will probably rename this file to index.php once everything is set up)
root/forums - global.php
root/forums/admincp - index.php (if modified), vbacmps_install.php, vba_cmps_admin.php
root/forums/cpstyles - vba_cp_logo.gif
root/forums/includes - adminfunctions_template.php (if modified), adminfunctions_vba_cmps.php, vba_cmps_include_top.php, vba_cmps_include_bottom.php, vba_cmps_include_template.php
root/forums/images/misc - noavatar.gif
root/forums/modules - Upload this folder and all of it's contents
Note: Be sure to upload the /forums/images and /forum/cpstyles folders and their contents in Binary mode and the other files in ASCII mode.

Now you will need to chmod the /forums/modules folder to 777:

southernlady
06-12-2005, 07:28 PM
I know what the read me file says. THAT isn't the problem.

IF I put this root folder - cmps_index.php (you will probably rename this file to index.php once everything is set up) and then use the The chdir line needs to be set to the path to your forum. I end up with the portal on www.mysouthernlady.com/forum NOT www.mysouthernlady.com

So telling me what the DAMNED manual says doesn't do me any good! Tell me how to FIX it. Liz

ConqSoft
06-12-2005, 07:41 PM
If you do what it says, you will end up with the portal in the root of your site, where you want it. The CHDIR line is just done behind the scenes, so that your global.php can be called without any errors, and has nothing to do with where the portal sits.

You obviously have NOT tried doing it the way the instructions say, because if you had, you would see that you are currently making an ass out of yourself.

Zachery
06-12-2005, 07:56 PM
Put the cmps_index.php file into your base directory, or your http://www.yoursite.com/

Now, edit the file and on the chdir line edit it to be


chdir('./forum');


Save. your done.

southernlady
06-12-2005, 08:03 PM
http://mysouthernlady.com/forum/index.php? This is what I get when I use it in the forum directory. If I leave it in the root, it doesn't do anything at all...now tell me I'm not trying?

I guess y'all have something against older adults trying to figure thiungs out but some of us just aren't as quick on the draw and need more visual help. Telling us isn't as easy. I wish the threads where people had figured it out would explain HOW they had and not just say *I found my problem*.

I have searched thru the threads, I have edited the nav bar, I don't know what else to do. I guess I am just not meant to have this portal cause I am not paying to have it installed. I did manage to create a html version of it. Liz

southernlady
06-12-2005, 08:07 PM
Now I've got these errors:
Warning: chdir(): No such file or directory (errno 2) in /home/hsphere/local/home/southern/mysouthernlady.com/index.php on line 21

Warning: main(./global.php): failed to open stream: No such file or directory in /home/hsphere/local/home/southern/mysouthernlady.com/index.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/hsphere/local/home/southern/mysouthernlady.com/index.php on line 32

Liz

southernlady
06-12-2005, 08:18 PM
Okay, I fixed most of it, I still have one issue:


Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_include_bottom.php on line 297

Warning: Invalid argument supplied for foreach() in /includes/vba_cmps_include_bottom.php on line 297

http://www.mysouthernlady.com/

Btw, thanks, Zachery for the show and tell. Liz

mholtum
06-12-2005, 08:20 PM
I know what the read me file says. THAT isn't the problem.

IF I put this and then use the I end up with the portal on www.mysouthernlady.com/forum NOT www.mysouthernlady.com

So telling me what the DAMNED manual says doesn't do me any good! Tell me how to FIX it. LizIt is obvious that you uploaded the cmps_index.php into the wrong dir on your server, move it. I searched for the error message you received and got this http://www.vbadvanced.com/forum/showthread.php?t=8308&highlight=line+297

southernlady
06-12-2005, 08:23 PM
It is obvious that you uploaded the cmps_index.php into the wrong dir on your server, move it.

That isn't the problem as you now know. Liz

mholtum
06-12-2005, 08:25 PM
I did a search, see my edited post above.

southernlady
06-12-2005, 08:46 PM
Resolved, i just resaved "default/homepage" under Edit modules, and error is gone. I'm not sure I understand this. I would do it if I did. Liz

mholtum
06-12-2005, 10:07 PM
I'm not sure I understand this. I would do it if I did. Liz
Admincp / vba CMPS / Edit pages / "default/homepage" / resave it. See if that helps.

southernlady
06-12-2005, 10:19 PM
Yes, it did...now all I have to do is re-do my logo's and set up the modules and I'm back in business. Thanks. See, show and tell wasn't as hard as you thought. Liz

mholtum
06-12-2005, 11:26 PM
looks like you need to reset your image paths (is that what you are talking about). Otherwise looks good.

southernlady
06-12-2005, 11:31 PM
Oh, I know I still have work to do on it but now I know I can manage it...I'm working on the headers now. Liz

mholtum
06-12-2005, 11:45 PM
if you need any help shoot me either a PM or hit me on MSN messenger.. Glad to help.

southernlady
06-12-2005, 11:51 PM
If I run into trouble (and I probably will, LOL) I'll take you up on that but it won't be tonight. I'm about to hang it up for the night. I'm hitting 11PM now and have been up since 2:30AM thanks to a case of the hiccups. Liz

Zachery
06-13-2005, 09:01 AM
Liz if you want, go ahead and create a ticket here and I will take a look into the issues :)

mholtum
06-13-2005, 11:08 AM
If I run into trouble (and I probably will, LOL) I'll take you up on that but it won't be tonight. I'm about to hang it up for the night. I'm hitting 11PM now and have been up since 2:30AM thanks to a case of the hiccups. Liz
11pm? That is usually when the wife and kids go to bed and I start my computer work.. AHHHHH Quite time.

southernlady
06-13-2005, 11:35 AM
Zachery, what would I put on the support ticket? Thanks to you and mholtum, I got all the problems resolved.

For anyone researching this: Look very carefully at what Zachery posted to me. It is exactly what you need to put in your cmps_index.php file...no more and no less.

As for the error I ended up with next, that was because I didn't follow what he posted and then fixed it.

The next error, the one "includes/vba_cmps_include_bottom.php on line 297"
was fixed following mholtum's instructions to the letter.

I am doing this because I HATE finding posts that say I fixed it but never say how...well, this one say how it was fixed.

I still have issues with my set up but those are cosmetic and will be worked on. mholtum has been nice enough to offer his help with that. Liz