Welcome Guest ( Log In | Register )

> 

Important!
Please submit all bugs to IPBWI-Bugtracker. If you want to support this project or even want to get IPBWI installed on your server, please visit Sponsor Informations Page.

 
Closed TopicStart new topic
> Few Issues I have run into
Ace07369
post Mar 3 2010, 21:52
Post #1


Rookie


Group: Active Member
Posts: 2

Joined: 3-March 10
Member No.: 4 969



First off, thanks for creating such a great tool for integrating IPB3 with stand alone websites!

Today, I downloaded and installed the latest IPBWI 3 beta and it seemed to install smoothly, but I have noticed some bugs/errors that occur. I have a feeling since your live examples demo page works fine that some of these are errors on my end and not yours. smile.gif

Firstly, I have installed IPBWI to:
F:/WAMP Server/wamp/www/ipbwi

My forums are located at:
F:/WAMP Server/wamp/www/community

The examples directory is located at:
http://localhost/examples (aka. F:/WAMP Server/wamp/www/examples)


The Examples index page loads fine, but whenever I try to view the "Member Info" (member_info.php) I get a blank page with this error:

"Parse error: parse error in F:\WAMP Server\wamp\www\examples\member_info.php on line 78" - line 78 is simply just the closing ?> php tag.

I feel this is probably due to me not installing IPBWI correctly? or getting paths confused? Everything seems to work fine except for this feature though.


---

Another bug I have found was if I log out of my account through the Examples index page and then log back in, my display name is missing from the welcome statement:


"Welcome back, !" <-- No name displayed.

This is fixed after you navigate to another module example.

---

When I try to view the "Skins" module a blank page loads with this error:

"Parse error: parse error in F:\WAMP Server\wamp\www\examples\skin.php on line 80" <-- Line 80 is the closing "<?php echo $footer; ?>" statement

---

The last bug/error I have come across was metioned here: http://projects.pc-intern.com/index.php?au...&showbug=52

Post List:
"Warning: Invalid argument supplied for foreach() in F:\WAMP Server\wamp\www\ipbwi\lib\topic.inc.php on line 321"

Topic Info:
"Warning: Invalid argument supplied for foreach() in F:\WAMP Server\wamp\www\examples\topic_info.php on line 42"

Topic List:
"Warning: Invalid argument supplied for foreach() in F:\WAMP Server\wamp\www\ipbwi\lib\topic.inc.php on line 321"

The contents (posts, topic titles...etc) still are displayed, but the warning message appears below them.

** I have not edited or added any code to any of the example modules/pages.

---

One last comment/question I had is regarding the security of this tool. Does IPBWI 3 impliment the exact features and modules from IPB 3 or does it produce similar ones, but just use the IPB3 database data? I am mainly going to use IPBWI so members can login to my site/forums from the main page, so I want to make sure that the IPBWI login form is just as secure as the IPB3 login form.

Also, does the Wordpress Integration Plugin: http://ipbwi.com/wordpress-integration/ work with IPBWI 3 beta? Or was that just to work with IPBWI 2?

Hopefully these problems I am experiencing are fixable. Thanks for the help.
Ace`


This post has been edited by Ace07369: Mar 3 2010, 22:08
Go to the top of the page
 
+Quote Post
Matthias Reuter
post Mar 3 2010, 23:17
Post #2


Forensklave
********

Group: Admin
Posts: 8 794

Joined: 12-May 03
From: Hamburg / Germany
Member No.: 1



Hi Ace,

thanks for using IPBWI. Let's go through your points step by step...

QUOTE (Ace07369 @ Mar 3 2010, 21:52) *
The Examples index page loads fine, but whenever I try to view the "Member Info" (member_info.php) I get a blank page with this error:

"Parse error: parse error in F:\WAMP Server\wamp\www\examples\member_info.php on line 78" - line 78 is simply just the closing ?> php tag.

I feel this is probably due to me not installing IPBWI correctly? or getting paths confused? Everything seems to work fine except for this feature though.


Sometimes, PHP assumes that the error is in a specific line, but the problem is logically in another place. Could you please try this to locate the problem exactly: Delete section by section of the content in the file. if the error does not occurs when a specific line or area is deleted, this one produces the problem. you could quote it here so we are able to investigate together to solve this problem.

QUOTE (Ace07369 @ Mar 3 2010, 21:52) *
Another bug I have found was if I log out of my account through the Examples index page and then log back in, my display name is missing from the welcome statement:


"Welcome back, !" <-- No name displayed.

This is fixed after you navigate to another module example.


Yeah, this is a non-critical bug. Could you add this to the bugtracker? I'll fix it then.

QUOTE (Ace07369 @ Mar 3 2010, 21:52) *
When I try to view the "Skins" module a blank page loads with this error:

"Parse error: parse error in F:\WAMP Server\wamp\www\examples\skin.php on line 80" <-- Line 80 is the closing "<?php echo $footer; ?>" statement

Same procedure as in the first entry: Please try to locate, which line or area produces this error.

QUOTE (Ace07369 @ Mar 3 2010, 21:52) *
The last bug/error I have come across was metioned here: http://projects.pc-intern.com/index.php?au...&showbug=52

Post List:
"Warning: Invalid argument supplied for foreach() in F:\WAMP Server\wamp\www\ipbwi\lib\topic.inc.php on line 321"

Topic Info:
"Warning: Invalid argument supplied for foreach() in F:\WAMP Server\wamp\www\examples\topic_info.php on line 42"

Topic List:
"Warning: Invalid argument supplied for foreach() in F:\WAMP Server\wamp\www\ipbwi\lib\topic.inc.php on line 321"

The contents (posts, topic titles...etc) still are displayed, but the warning message appears below them.


Yeah, warnings are still presented in beta, because I'll fix them with lower priority than critical bugs. But they'll be fixed until final version is released. Could you add this to bugtracker, too?

QUOTE (Ace07369 @ Mar 3 2010, 21:52) *
One last comment/question I had is regarding the security of this tool. Does IPBWI 3 impliment the exact features and modules from IPB 3 or does it produce similar ones, but just use the IPB3 database data? I am mainly going to use IPBWI so members can login to my site/forums from the main page, so I want to make sure that the IPBWI login form is just as secure as the IPB3 login form.


IPBWI tries to use board's internal functions as far as possible. Especially the login-function is fully based and synced to board's login function, so you'll have same security with IPBWI like in board.

QUOTE (Ace07369 @ Mar 3 2010, 21:52) *
Also, does the Wordpress Integration Plugin: http://ipbwi.com/wordpress-integration/ work with IPBWI 3 beta? Or was that just to work with IPBWI 2?


Actually it's only compatible with IPBWI 2. Latest Topic Widget for Wordpress compatible with IPBWI 3 will be released next week. It was wished in topic Feature Requests by IPBWI Sponsors. There is still one wish left, so if you decide to become a sponsor of IPBWI for just 15 bucks and you are the next one who is posting a developable wish in this topic, I'll be glad to develop it, too.
Go to the top of the page
 
+Quote Post
Ace07369
post Mar 4 2010, 0:08
Post #3


Rookie


Group: Active Member
Posts: 2

Joined: 3-March 10
Member No.: 4 969



Thanks for the prompt response Matthias.

About the member_info.php:

I found that when I removed lines 25-26:
CODE
if($ipbwi->member->isLoggedIn()){
        $member = $ipbwi->member->info();

and line 60-62 (or just got rid of the surrounding php tags, leaving the }else{):

CODE
<?php
    }else{
?>


The page loaded without any errors. Obviously it loaded without a lot of the member information though.


---

About the skin.php:

I found that after I removed lines 44-57:

CODE
<?php
    foreach($ipbwi->skin->getList() as $skinID){
        $info = $ipbwi->skin->info($skinID);
        if($skinID == 1){
            $name = $info['set_name'].' (forum\'s default)';
        }else{
            $name = $info['set_name'];
        }
        if($ipbwi->skin->id() == $skinID){
            $select = ' selected="selected"';
        }else{
            $select = false;
        }
?>


The page loaded without any errors. Obviously the skin dropdown box didn't load/query any of the skins, but the rest of the skin information seemed to be there.

Another odd thing I noticed though was that it only displayed, in the "List all skins", the 3 default IPB 3 skins:

#1: IP.Board
#2: IP.Board 3 XML
#3: IP.Board Lo-Fi


I have 2 other skins installed on my board, but for some reason they are not showing up (not a major issue at all for me, just something I noticed).

As you asked for, I will begin to post some of these bugs in the Bug Tracker.

Once again, thanks for the help.
Ace`


This post has been edited by Ace07369: Mar 4 2010, 0:10
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 30th July 2010 - 15:56
Skin By: atsaunier Winxperts.net