1
thgirblam
Fatal Error after 2.0.13 Fresh Install
  • 2005/7/18 22:11

  • thgirblam

  • Just popping in

  • Posts: 32

  • Since: 2004/8/14


Moved from "Most Stable Upgrade Process":

Impatient me couldn't wait for 2.2 so I installed 2.0.13.
I first set up the database then uploaded the XOOPS files and ran through the install. Everything checked out and the database confirmed but I now get the dreaded "Blank Page".
I have switched to debug mode and produce this error in every page (even admin):
~~~~~~~~~~~~~~~~~~~~~~~~~~
Fatal error: _get_plugin_filepath(): Failed opening required '/var/www/html/class/smarty/core/core.assemble_plugin_filepath.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/class/smarty/Smarty.class.php on line 1343
~~~~~~~~~~~~~~~~~~~~~~~~~~
When I open Smarty.class.php this is how the related lines read:
1338 function clear_config($var = null)
1339 {
1340 if(!isset($var)) {
1341 // clear all values
1342 $this->_config = array(array('vars' => array(),
1343 'files' => array()));
1344 } else {
1345 unset($this->_config[0]['vars'][$var]);
1346 }
I've checked these lines against the same file in other XOOPS installations of mine and the lines read the same, but they do appear on different line numbers.
It feels like a permissions problem but everything seems to check out.

I'm officially confused



Please Help - Mark
Thanks,
Mark
______
XOOPS Version XOOPS 2.5.0
PHP Version 5.2.14
mySQL Version 5.0.91-log

2
thgirblam
Re: Fatal Error after 2.0.13 Fresh Install
  • 2005/7/23 2:32

  • thgirblam

  • Just popping in

  • Posts: 32

  • Since: 2004/8/14


I have been trying to solve this problem but I have not been able to find what is causing the error.

Is there anyplace else I can look for answers that will help me get this site up?

This site is (almost)running on an Apache 2 webserver with MySQL 4.0 and PHP 4.3

Please help point me in the right direction.

Mark
Thanks,
Mark
______
XOOPS Version XOOPS 2.5.0
PHP Version 5.2.14
mySQL Version 5.0.91-log

3
m0nty
Re: Fatal Error after 2.0.13 Fresh Install
  • 2005/7/23 3:01

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


check that '/var/www/html/class/smarty/core/core.assemble_plugin_filepath.php' exists and is readable.. also check for it being corrupted.. sometimes files get corrupted during transfer.

4
thgirblam
Re: Fatal Error after 2.0.13 Fresh Install
  • 2005/7/24 2:58

  • thgirblam

  • Just popping in

  • Posts: 32

  • Since: 2004/8/14


Quote:

m0nty wrote:
check that '/var/www/html/class/smarty/core/core.assemble_plugin_filepath.php' exists and is readable.. also check for it being corrupted.. sometimes files get corrupted during transfer.


Thanks mOnty, That was A problem. The hp of .php was dropped on several filenames.

However, on my admin page I am now getting a:

Parse error: parse error, unexpected ')' in /var/www/html/templates_c/%%F6^F69^F692B736%%db%3Asystem_redirect.html.php on line 21

...and in /modules/news/ I get:

Parse error: parse error, unexpected ')' in /var/www/html/templates_c/%%20^200^200DC337%%theme.html.php on line 72

I have been trying since yesterday to track this down but don't seem to be getting anywhere.

I have installed 2 other XOOPS sites and have never had this much problems. Did something maybe go wrong with my XOOPS upload or install, and more filenames have been corrupted? I've poked around looking for more dropped file extensions but have not found any that I could confirm were corrupt.

Mark
Thanks,
Mark
______
XOOPS Version XOOPS 2.5.0
PHP Version 5.2.14
mySQL Version 5.0.91-log

5
thgirblam
Re: Fatal Error after 2.0.13 Fresh Install
  • 2005/7/27 21:24

  • thgirblam

  • Just popping in

  • Posts: 32

  • Since: 2004/8/14


I got my site up with a lot of help from my hosting provider and wanted to share the fix with any who might experience this problem in the future.

First - my hosting provider is GoLiveHost. These guys are awesome when it comes to support. They are always available when I need help and they're also always quick with a response. I first had some doubts when I moved my sites to their servers because they did not have a support line I could call when necessary, but they are generally quicker with an email reply than it took to get through my old host answering system to a support tech.

Many kudos to Richard, Dave and the entire GoLiveHostsupport team.

Below is a copy of their message back to me after solving the problem I was experiencing:

Quote:

Hi Mark,


The problem is occurring in line 78 and line 140 of the
%%20^200^200DC337%%theme.html.php file in the templates_c folder.

In both lines the problem code is:
<?php if (): ?>

I've changed this to <?php if (''): ?> (added two single quotes in the
parenthesis) and this does seem to have temporarily fixed the
problem, but as the template files are dynamically generated this
will likely reoccur. I'd suggest that there is some content or a setting
missing that is supposed to be written within that if block.

The code that is translated from the template is:

<{if $xoops_showcblock == 1}>

The XOOPs website is currently down because they were hacked,
so the resources normally available to look further into it aren't
reachable today.

--

cheers,
Richard


It's also great to see the XOOPs site back up and running. Thanks for all that you guys do & death to the hackers who attacked you.


Mark
Thanks,
Mark
______
XOOPS Version XOOPS 2.5.0
PHP Version 5.2.14
mySQL Version 5.0.91-log

Login

Who's Online

289 user(s) are online (190 user(s) are browsing Support Forums)


Members: 0


Guests: 289


more...

Donat-O-Meter

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

Latest GitHub Commits