Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
The threads_import.php pages comes up blank. I've download the files from the members area 2 times to be sure if was not corrupted. Please advise.

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
look at this.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
Tried that. I am still getting a blank page.

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
if you get a blank page it can be that the script exection time or the memory limit is to small for you php settings.


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
Z

Thanks for your help but no limits were set on these. I am on my own box.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Make sure you have your php.ini file set to display errors to the screen. It sounds like something is causing it to die but the php configuration is maybe just logging the error instead of displaying them in the browser.

Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
Here is the error in the log...I have XXX out my domain name and IP.

[Thu Aug 17 10:26:24 2006] [error] [client XXX.214.253.2] PHP Parse error: syntax error, unexpected T_STRING, expecting ')' in /var/www/vhosts/XXXXXXX.com/httpdocs/forum/importers/threads_import.php on line 512

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
You say, you looked at this smile Look again and do the fix (remove {} ).


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen
Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
I did look at it and replaced it. I am still getting the blank page.

Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
Can anyone assist please.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Are you still getting the same error in the error log when you're getting the blank screen or is there a different error? If it's the same error, can you post what you have on line 512 of the threads_import.php file?

Joined: Jun 2006
Posts: 67
C
journeyman
journeyman
C Offline
Joined: Jun 2006
Posts: 67
Same error. Below is line 512

$dbh->do_placeholder_query($query,array($new_user,$user_data['U_Email'],$user_data['U_Fakeemail'],$user_data['U_Signature'],$raw_sig,$user_data['U_Homepage'],$user_data['U_Occupation'],$user_data['U_Location'],$user_data['U_PostsPer'],$user_data['U_Display'],$user_data['U_Notify'],$user_data['U_Extra1'],'',$user_data['U_Extra2'],$user_data['U_Extra3'],$user_data['U_Extra4'],$user_data['U_Extra5'],$user_data['U_Picture'],'1',$user_data['U_Visible'],$user_data['U_AcceptPriv'],$user_data['U_Title'],$user_data['U_FlatPosts'],$user_data['U_Color'],$user_data['U_TimeOffset'],$user_data['U_Totalposts'],$user_data['U_ShowSigs'],$rating,$user_data['U_Rates'],$user_data['U_PicWidth'],$user_data['U_PicHeight'],$user_data['U_AdminEmails'],$user_data['U_Hobbies'],$user_data['U_Birthday'],$user_data['U_ShowBday'],'$config['TIME_FORMAT']',$user_data['U_FloodControl']));

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
This bit needs to be changed:

,'$config['TIME_FORMAT']',

that, should just be

,$config['TIME_FORMAT'],


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Ruben), 866 guests, and 176 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)