phpbb usershare question

This is a discussion on phpbb usershare question within the v3.1 Modules & Modifications forums, part of the v3.1.x Help & Support category; I just installed phpbb usershare and am having a little problem. The classifieds db and the forum db are unique. ...


Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Modules & Modifications

 
LinkBack Thread Tools Display Modes
  #1  
Old 03-28-2007, 10:16 AM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default phpbb usershare question

I just installed phpbb usershare and am having a little problem.
The classifieds db and the forum db are unique.
Here is the error message I am getting when I attempt to register a "test" user via the classifieds login:

Parse error: syntax error, unexpected T_VARIABLE on line 18

Line 18 is the one in the settings.php where the host is specified. In my case, this is "localhost"

The "test" user shows up in the classifieds admin area, but is obviously not recognized in the forum.

As usual, I am sure that there has been a simple oversight on my behalf, but could really use some help.

Thank you!
__________________
motorcycle-place
Reply With Quote
  #2  
Old 03-28-2007, 02:19 PM
Staff
 
Join Date: Mar 2006
Posts: 357
Rep Power: 18
Default

Hi Early-

Could you check your db config file to make sure you don't have an errant character (like a double quote, single quote, etc.) in there?

While you're there, make sure the necessary one's haven't been deleted
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
Reply With Quote
  #3  
Old 03-28-2007, 10:26 PM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default

hmm... maybe I am doing something really dumb...

I assume you are referring to the settings.php file?

If so, should it look like this:

$data['phpbb_db_host']="localhost"; localhost

or this:

$data['phpbb_db_host']="localhost";

Actually, I just tried both - to no avail. All other quotation marks appear to be in place.


Thanks!
__________________
motorcycle-place
Reply With Quote
  #4  
Old 03-29-2007, 07:42 AM
68 Classifieds Staff
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 3,974
Rep Power: 91
Default

It would be the second option you posted:
Code:
$data['phpbb_db_host']="localhost";
Make sure everything is within the double quotes.

If that still doesn't work can you submit a support ticket with your ftp information and phpbb database connection and we will try and get this going for you.
__________________
Eric Barnes
68 Classifieds Developer
Please do not send me a private message asking for support. Instead use these open forums or our ticket system.

Customer Area | Issue Tracker | Documentation | Submit a Ticket | Twitter
Reply With Quote
  #5  
Old 03-29-2007, 09:56 AM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default

I resolved the error message by removing the "default" examples and placing my connection strings within the double quotes - as you indicated. Now, I can register via the classifieds script, however, the usershare is not automatically registering me with phpbb. I do have a different db for each - is there something else I need to take a look at?
I appreciate your offer and may take you up on it - if this becomes to complex for me to stumble through

One other thing: I noticed that the layout of the userjoin.php page was way out of whack, as if not being guided by the stylesheet... What is the proper way to verify what is going on with that page?

Thanks again!
__________________
motorcycle-place
Reply With Quote
  #6  
Old 03-29-2007, 04:06 PM
Moderator
 
Join Date: Jan 2007
Posts: 826
Rep Power: 27
Default

Quote:
Originally Posted by early View Post
One other thing: I noticed that the layout of the userjoin.php page was way out of whack, as if not being guided by the stylesheet... What is the proper way to verify what is going on with that page?
Check the code of the parsed generated HTML page and look for the calls for the "class" within the html elements to see if it is making the right calls. I have noticed in making my custom pages, that there seems to be many lingering calls in many of the pages to classes that no longer exist in the current css stylesheet.

If you're wanting to check the data that is being passed within a page, simply place "{debug}" without the quotes as the very first line of the layout.tpl.php file. Ensure that you are not using any type of "pop up blocker". ftp the layout.tpl.php file to replace the existing one in your current templates folder. Go to the page that you want to check in your web browser. Each page that you view will pop up a separate window showing all of the data that is being sent to the page.

Hope that helps. It certainly helped me.

-Mike
__________________
Mike-N-Tosh
v3.1.10 Developer IndianaPC.org - A community website
Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8

Templates for sale | 68 Classifieds Customizations
Web Hosting | Web Design & Development
I am not a 68C employee, just a user and try to help out
Reply With Quote
  #7  
Old 04-04-2007, 09:52 AM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default

Hello,

I uploaded the layout.tpl.php file with {debug}. Now, the entire site looks like the problem I had with the "userjoin" page after registration data was submitted.
Is {debug} preventing a call to the template? I need a bit of help interpreting what the Debug Console is telling me... please have a look at: www.motorcycle-place.com

Also, in regards to the usershare for phpbb: it isn't working (e.g., sign-up at motorcycle-place, but new user is not registered in phpbb forum.)
Where shall I begin looking for the problem?

Thank you!
__________________
motorcycle-place
Reply With Quote
  #8  
Old 04-11-2007, 11:40 AM
Member
 
Join Date: Mar 2007
Posts: 32
Rep Power: 7
Default

Quote:
Originally Posted by early View Post
Hello,

I uploaded the layout.tpl.php file with {debug}. Now, the entire site looks like the problem I had with the "userjoin" page after registration data was submitted.
Is {debug} preventing a call to the template? I need a bit of help interpreting what the Debug Console is telling me... please have a look at: www.motorcycle-place.com

Also, in regards to the usershare for phpbb: it isn't working (e.g., sign-up at motorcycle-place, but new user is not registered in phpbb forum.)
Where shall I begin looking for the problem?

Thank you!
I submitted a support ticket last week in regards to the phpbb usershare mod trouble I am experiencing. Haven't heard anything yet. Can someone please assist with this?
Can also run in "debug" mode again - just let me know...
Thank you very much.
__________________
motorcycle-place
Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modification: phpbb usershare Eric Barnes v3.1 Modules & Modifications 11 09-08-2008 10:01 AM
phpbb user share angler Pre Sales Questions 0 03-23-2007 10:42 AM
Is phpbb Usershare mod compatible with pNphpbb2? bentambling v3.0 Questions & Support 0 11-25-2006 12:45 PM
phpbb usershare mod spaceboy v3.1 Questions & Support 3 09-16-2006 07:38 PM


All times are GMT -4. The time now is 07:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22