�V�
Search: �
  • Home
  • Help
  • Search
  • Login
  • Register
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 07, 2010, 06:07:46 PM

Login with username, password and session length
collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online
  • Dot Guests: 3
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* News from Joomla
  • post Joomla 1.6 Beta 8 Now Available
  • The Joomla Project is proud to announce the immedi...
  • post Joomla 1.6 Beta 7 Now Available
  • The Joomla Project is proud to announce the immedi...
  • post Joomla 1.6 Beta 6 Now Available
  • The Joomla Project is proud to announce the immedi...

Welcome to Locutus web services forum!

Locutus Web Services�>�General Category�>�Joomla�>�JSMF bridge�>�Blank page issue after transfer to new host
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Blank page issue after transfer to new host (Read 3479 times)
locutus
Administrator
Hero Member
*****
Offline Offline

Posts: 95


The sky ain't the limit


WWW
Re: Blank page issue after transfer to new host
Reply #15 on: January 21, 2010, 11:50:06 PM

Don't set your hopes high:
Search in smf.class.php:
Code:
            $buffer = preg_replace($regex, array('', '', ''), $buffer);

Add before:
Code:
            //improved regex for body tags that include id or other items.
            $regex = array('/<!DOCTYPE.*<body.*?>/smi', '/<\/body>/i', '/<\/html>/i');

Also I want to warn you that there is a potential security flaw in JSMF. I strongly advise you to drop JSMF. In the meantine NEVER log in as an admin via the frontpage at a public computer!
Logged

Conquer the skies with the Gelderse Soaring Club
baijianpeng
Sr. Member
****
Offline Offline

Posts: 26


I love Joomla!


WWW
Re: Blank page issue after transfer to new host
Reply #16 on: January 22, 2010, 12:00:19 AM

Glad to see you are online now. In line 484, there was following code:

Code:
$regex = array('/<!DOCTYPE.*<body>/smi', '/<\/body>/i', '/<\/html>/i');

Do I need to comment it out when applying your modification?

Thanks.

PS: I really want to migrate my website to Joomla 1.5 platform and use JFusion as the bridge. However, currently I am waiting for someone to develope a Migrator plugin for Remository component, without this plugin I can't finish my Joomla core migration.

Thank you again for your help.
Logged

http://www.joomlagate.com

Chinese Joomla Users' Portal
locutus
Administrator
Hero Member
*****
Offline Offline

Posts: 95


The sky ain't the limit


WWW
Re: Blank page issue after transfer to new host
Reply #17 on: January 22, 2010, 12:14:19 AM

Quote from: baijianpeng on January 22, 2010, 12:00:19 AM
Glad to see you are online now. In line 484, there was following code:

Code:
$regex = array('/<!DOCTYPE.*<body>/smi', '/<\/body>/i', '/<\/html>/i');

Do I need to comment it out when applying your modification?

Yes, please do.
Logged

Conquer the skies with the Gelderse Soaring Club
baijianpeng
Sr. Member
****
Offline Offline

Posts: 26


I love Joomla!


WWW
Re: Blank page issue after transfer to new host
Reply #18 on: January 23, 2010, 08:25:59 AM

I tried above modification, it can't solve the problem.

Did I mentioned that when upgrading, I failed to run the upgrade.php ? Do you think this is the cause?

Another big problem is, after this migration, I can't find Edit, Reply, Quote buttons on my forum, they should appear at the upper right corner for each post.

All these are very weird. I have no idea what to do now.

Thanks.
Logged

http://www.joomlagate.com

Chinese Joomla Users' Portal
locutus
Administrator
Hero Member
*****
Offline Offline

Posts: 95


The sky ain't the limit


WWW
Re: Blank page issue after transfer to new host
Reply #19 on: January 23, 2010, 07:21:14 PM

Okay, I think it's time for a different approach. I advise you to install a local WAMP installation. Restore on your WAMP server the backup of your old server. Check if if everything works. Than upgrade SMF via it's administration. Check again if if everything works. Backup your WAMP installation and restore it on the server of your host. Check again if if everything works, if not there is a problem with your host.

祝你好運
Logged

Conquer the skies with the Gelderse Soaring Club
baijianpeng
Sr. Member
****
Offline Offline

Posts: 26


I love Joomla!


WWW
Re: Blank page issue after transfer to new host
Reply #20 on: January 28, 2010, 11:08:55 AM

Hi, locutus ,

I followed your suggestion to restore my Joomla backup on PC, but the backup file (.jpa format) failed to be de-compressed. So I did not have a chance to try on localhost.

This blank page issue annoyed me very much. I really want to upgrade to Joomla 1.5.x core and use another bridge.

BTW, do you have interests to improve JSMF bridge and make it still working on Joomla 1.5 (or in Legacy mode) ?

Thanks.
Logged

http://www.joomlagate.com

Chinese Joomla Users' Portal
locutus
Administrator
Hero Member
*****
Offline Offline

Posts: 95


The sky ain't the limit


WWW
Re: Blank page issue after transfer to new host
Reply #21 on: January 29, 2010, 10:13:27 PM

Quote from: baijianpeng on January 28, 2010, 11:08:55 AM
Hi, locutus ,

I followed your suggestion to restore my Joomla backup on PC, but the backup file (.jpa format) failed to be de-compressed. So I did not have a chance to try on localhost.

Just try to download your files by FTP and upload them to your localhost. Also manually export your db and import it to your localhost.
Quote
This blank page issue annoyed me very much. I really want to upgrade to Joomla 1.5.x core and use another bridge.

BTW, do you have interests to improve JSMF bridge and make it still working on Joomla 1.5 (or in Legacy mode) ?

No, I don't. IMO bridging SMF and Joomla results in a dodgy vehicle. For example SMF is super in user handling like ACL . Joomla is still on a prehistoric level with that. As you can see, I am dropping Joomla in community driven sites.   For some sites I will keep the public stuff Joomla CMS and for the members SMF; the stand alone style. I am very happy with that situation; no upgrading problems or strange blank screens....
Logged

Conquer the skies with the Gelderse Soaring Club
baijianpeng
Sr. Member
****
Offline Offline

Posts: 26


I love Joomla!


WWW
Re: Blank page issue after transfer to new host
Reply #22 on: January 29, 2010, 11:01:57 PM

Ok, understand. Thanks.
Logged

http://www.joomlagate.com

Chinese Joomla Users' Portal
baijianpeng
Sr. Member
****
Offline Offline

Posts: 26


I love Joomla!


WWW
Re: Blank page issue after transfer to new host
Reply #23 on: March 02, 2010, 10:15:32 PM

Hi, I want to discuss this issue again.

Today, finally, I made a copy of my live website on my PC by FTP transfer and phpMyadmin export/import.

My localhost testing server was built with XAMPP for Windows, the PHP version is 5.2.8 .

Then I tested the method of modifying file smf.class.php you had mentioned above, it did not work.

Well, I think the point may NOT be the PHP version. Because if I visit the same page as a guest (not login in), everything is OK, I can see all the posts. Then, if I login in, there show me the blank page.

So, maybe we should check this: when a user login in , what happened in JSMF bridge? this change may be the cause of this issue.

Do you have any idea?

Thanks.
Logged

http://www.joomlagate.com

Chinese Joomla Users' Portal
Pages: 1 [2] Go Up Print
« previous next »
Jump to:


* Recent Topics
topic My distro stopper: Lubuntu!
[Linux]
locutus
August 31, 2010, 04:12:41 AM

* News from SMF
  • post Twitter background contest!
  • Hello Community,

    The SimpleMachines Te...
  • post A reminder to update your email and passwords
  • Hello community,

        The Simple Machin...
  • post SMF 2.0 Release Candidate 3 is out!
  • Hello all,

    We are pleased to announce ...

* Top Poster
locutus locutus
95 Posts
baijianpeng baijianpeng
26 Posts
aim1986
10 Posts
GJSchaller GJSchaller
6 Posts
Neeraj123
5 Posts

Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC
SimplePortal 2.3.1 © 2008-2009, SimplePortal

Scribbles2 design by Bloc | XHTML | CSS
Page created in 1.084 seconds with 26 queries.
Loading...