1
sadistiko
Blank page after transfer to other web hosting
  • 2011/11/2 21:52

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


I transfered several sites from one web server to other and it looks this only one have problems. This was Xoops 2.4.4. and I get only blank page on index page.
I can login with user.php, and go to admin.php then, even use some options in admin part. I tried to upgrade to 2.5.3 but after that everything is even worse than before.
Now I can't use module administration nor upgrade modules.

site is:http://os-tadija-petrinja.hr

Here are messages that I get:

Fatal errorCall to undefined function mb_substr() in /home/ostadija/public_html/modules/xnews/blocks/news_top.php on line 457
None All Errors 
(28Deprecated (14Queries (16Blocks (3Extra (2Timers(4)
Errors
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 21
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 22
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 23
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 24
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 25
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 26
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 106
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 107
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 108
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 109
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 106
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 107
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 108
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 109
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 106
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 107
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 106
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 107
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 108
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 109
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 106
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 107
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 108
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 109
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 106
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 107
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 108
Unknown
: Function eregi() is deprecated in file /modules/multiMenu/blocks/block.php line 109


I tried to upload multimenu again but nothing changed.

This is what I get when I try to enter module admin part:

A problem has occurred on our server!

Page is currently unavailable

We are working on a fix
Please come back soon 
...
Error Smarty error: [in db:system_modules.html line 4]: syntax errorunrecognized tag 'xoAdminIcons' (Smarty_Compiler.class.phpline 590)
Backtrace:
/class/
smarty/Smarty.class.php (1093
/class/
smarty/Smarty.class.php (1815
/class/
smarty/Smarty_Compiler.class.php (2256
/class/
smarty/Smarty_Compiler.class.php (590
/class/
smarty/Smarty_Compiler.class.php (312
/class/
smarty/Smarty.class.php (1489
/class/
smarty/Smarty.class.php (1422
/class/
smarty/Smarty.class.php (1261
/class/
theme.php (470
/
modules/system/class/gui.php (160
/include/
cp_functions.php (40
/
modules/system/admin/modulesadmin/main.php (122
/
modules/system/admin.php (59
None All Errors (1Deprecated (0Queries (13Blocks (0Extra (2Timers(6)
Errors
Error
Smarty error: [in db:system_modules.html line 4]: syntax errorunrecognized tag 'xoAdminIcons' (Smarty_Compiler.class.phpline 590in file /class/smarty/Smarty.class.php line 1093


So this is my configuration:
Xoops 2.4.4 (when I transfered)
Xoops 2.5.3 (after upgrade process)
PHP 5.3.8
MySQL 5.1.56
Apache 2.2.21

Maybe someone can see what cause this problem.

Thanks in advance
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

2
trabis
Re: Blank page after transfer to other web hosting
  • 2011/11/2 22:05

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


mb_substr() missing means that you don't have "php_mbstring" php extension enable in your server. Your xnews module requires it to run. If you can't enable it, then edit file "/xnews/blocks/news_top.php on line 457" and replace mb_substr by substr (just remove the mb_ prefix)

unrecognized tag 'xoAdminIcons' means that you are missing some smarty/xoops_plugins that are required by Frameworks/moduleclasses

Try copy all xoops_plugins from a full Xoops package, maybe the upgrade package is missing them.

3
zyspec
Re: Blank page after transfer to other web hosting
  • 2011/11/3 1:55

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


I assume your PHP is now 5.3.8 (not 3.5.8 as stated above). This is why you're getting the 'eregi' DEPRECATED notices. While these are unnerving, they're not fatal and shouldn't cause any operational problems for now. Trabis is right, focus on fixing the 'mb_substr' Fatal error and re-uploading the XOOPS /Frameworks/moduleclasses directory (and subdirectories) to clear up the Smarty issues.

4
sadistiko
Re: Blank page after transfer to other web hosting
  • 2011/11/3 2:03

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Thank you Trabis!!! You save me lot of work here!
I purchased new VPS for my little firm and php_mbstring wasn't enabled by default.
I still have this xoAdminIcons problem, but this is only in the back where nobody see this. I'll fix it later.
And BTW I swith back to PHP 5.2.17 on my server, OSCOmmerce also have problem with several functions.

and yes zyspec, it was 5.3.8. I fixed this in first post

Thanks you all ones again
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

5
sadistiko
Re: Blank page after transfer to other web hosting
  • 2011/11/3 2:22

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Well, I tried to copy all xoops_plugins (what I done before also when I made upgrade of site) and I still get this error when I try to click on modules administration.

A problem has occurred on our server!

Page is currently unavailable

We are working on a fix
Please come back soon 
...
Error Smarty error: [in db:system_modules.html line 4]: syntax errorunrecognized tag 'xoAdminIcons' (Smarty_Compiler.class.phpline 590)
Backtrace:
/class/
smarty/Smarty.class.php (1093
/class/
smarty/Smarty.class.php (1815
/class/
smarty/Smarty_Compiler.class.php (2256
/class/
smarty/Smarty_Compiler.class.php (590
/class/
smarty/Smarty_Compiler.class.php (312
/class/
smarty/Smarty.class.php (1489
/class/
smarty/Smarty.class.php (1422
/class/
smarty/Smarty.class.php (1261
/class/
theme.php (470
/
modules/system/class/gui.php (160
/include/
cp_functions.php (40
/
modules/system/admin/modulesadmin/main.php (122
/
modules/system/admin.php (59
None All Errors (1Deprecated (0Queries (15Blocks (0Extra (2Timers(6)
Errors
Error
Smarty error: [in db:system_modules.html line 4]: syntax errorunrecognized tag 'xoAdminIcons' (Smarty_Compiler.class.phpline 590in file /class/smarty/Smarty.class.php line 1093


When I tried to administer multimenu module in admin panel I got this:

A problem has occurred on our server!

Page is currently unavailable

We are working on a fix
Please come back soon 
...
Error Smarty error: [in /home/ostadija/public_html/modules/system/themes/default/xotpl/xo_metas.html line 19]: syntax errorunrecognized tag 'xoAppUrl' (Smarty_Compiler.class.phpline 590)
Backtrace:
/class/
smarty/Smarty.class.php (1093
/class/
smarty/Smarty.class.php (1815
/class/
smarty/Smarty_Compiler.class.php (2256
/class/
smarty/Smarty_Compiler.class.php (590
/class/
smarty/Smarty_Compiler.class.php (312
/class/
smarty/Smarty.class.php (1489
/class/
smarty/Smarty.class.php (1422
/class/
smarty/Smarty.class.php (1867
/
home/ostadija/x00ps_data/caches/smarty_compile/eff080cd-multiMenu-tadija-default^%%29^299^29935D21%%theme.html.php (8
/class/
smarty/Smarty.class.php (1256
/class/
smarty/Smarty.class.php (1106
/class/
theme.php (481
/
modules/system/class/gui.php (160
/include/
cp_functions.php (40
/
modules/multiMenu/admin/index.php (335
/
modules/multiMenu/admin/index.php (50
None All Errors (1Deprecated (16Queries (16Blocks (0Extra (2Timers(6)
Errors
Error
Smarty error: [in /modules/system/themes/default/xotpl/xo_metas.html line 19]: syntax errorunrecognized tag 'xoAppUrl' (Smarty_Compiler.class.phpline 590in file /class/smarty/Smarty.class.php line 1093
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

6
sadistiko
Re: Blank page after transfer to other web hosting
  • 2011/11/3 8:08

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


Well, this wasn't last to much
Again, I can't open site, now, every page (index, admin or user.php) doesn't work.

I again look att smarty/xoops_plugin and find out this:

Old files were named like this: compiler.xoAppUrl.php
and new one with xoops 2.5.3 like this: compiler.xoappurl.php

So this make problems.
I changed lowercase to upper and now site works again.
Also I made that for all files that were writen in error and now all works.
I don't know why this happen, I recently made several succesfull upgrades from 2.4.4, even older xoops and this was first time this happen
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

7
sadistiko
Re: Blank page after transfer to other web hosting
  • 2011/11/4 9:18

  • sadistiko

  • Friend of XOOPS

  • Posts: 477

  • Since: 2004/12/13


I found that lowercase problem was related to my Total Commander that has, by mistake, used lowercase upload.
Croatian Xoops support site:
www.xoopshr.org
Lowcost linux hosting:
www.adpgroup.hr

Login

Who's Online

117 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 117


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits