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. ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
It would be the second option you posted:
Code:
$data['phpbb_db_host']="localhost"; 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 |
|
#5
|
|||
|
|||
|
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 |
|
#6
|
||||
|
||||
|
Quote:
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 |
|
#7
|
|||
|
|||
|
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 |
|
#8
|
|||
|
|||
|
Quote:
Can also run in "debug" mode again - just let me know... Thank you very much.
__________________
motorcycle-place |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |