21
dnprossi
Re: Trying to upgrade 2.3.3 to 2.4.1 Fatal error:licence-upgrade-keygen-2.4.0-to-2.4.1
  • 2009/11/25 14:04

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Thanks trabis,

But does not seem to be missing files... I re downloaded 2.3.3 to 2.4.1 Upgrade copied files to server start upgrade after login request Crash!!

I also tried the full 2.4.1 upgrade instructions but still get the above errors..

Strange



22
dnprossi
Trying to upgrade 2.3.3 to 2.4.1 Fatal error:licence-upgrade-keygen-2.4.0-to-2.4.1
  • 2009/11/25 13:34

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


I am using xoops2.3.3b-to-2.4.1 Upgrade files but always get the following errors.

Help!!!

Fatal error: Function name must be a string in /var/www/aral/upgrade/licence-upgrade-keygen-2.4.0-to-2.4.1/index.php on line 127
None All errors 
(5queries (6blocks (0extra (2timers (3)
Errors
Notice
: Use of undefined constant XOOPS_LICENSE_KEY assumed 'XOOPS_LICENSE_KEY' in file /upgrade/licence-upgrade-keygen-2.4.0-to-2.4.1/index.php line 121
Notice
: Use of undefined constant XOOPS_LICENSE_KEY assumed 'XOOPS_LICENSE_KEY' in file /upgrade/licence-upgrade-keygen-2.4.0-to-2.4.1/index.php line 121
Notice
: Use of undefined constant XOOPS_LICENSE_KEY assumed 'XOOPS_LICENSE_KEY' in file /upgrade/licence-upgrade-keygen-2.4.0-to-2.4.1/index.php line 121
Notice
: Use of undefined constant XOOPS_LICENSE_KEY assumed 'XOOPS_LICENSE_KEY' in file /upgrade/licence-upgrade-keygen-2.4.0-to-2.4.1/index.php line 121
Notice
Undefined variablecheckbit in file /upgrade/licence-upgrade-keygen-2.4.0-to-2.4.1/index.php line 127



23
dnprossi
Re: help lost site...
  • 2009/1/27 17:03

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Thanks guys,

Found out..

Database busted on hosting provider... They will restore...

Thanks to all



24
dnprossi
help lost site...
  • 2009/1/27 16:26

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Help...

Xoops 2.3.2b upgraded. Working fine. and now cant get in anywhere.

I now get:

* @author Skalpa Keo  * @author Taiwen Jiang * @version $Idindex.php 1988 2008-08-30 10:34:38Z phppp $ */ /** * redirects to installation, if XOOPS is not installed yet **/ include "mainfile.php"//check if start page is defined if ( isset($xoopsConfig['startpage']) && $xoopsConfig['startpage'] != "" && $xoopsConfig['startpage'] != "--" ) { // Temporary solution for start page redirection define("XOOPS_STARTPAGE_REDIRECTED", 1); global $xoopsModuleConfig; $module_handler =& xoops_gethandler('module'); $xoopsModule =& $module_handler->getByDirname($xoopsConfig['startpage']); if (!$xoopsModule || !$xoopsModule->getVar('isactive')) { include_once XOOPS_ROOT_PATH . "/header.php"; echo " " . _MODULENOEXIST . " "; include_once XOOPS_ROOT_PATH . "/footer.php"; exit(); } $moduleperm_handler =& xoops_gethandler('groupperm'); if ($xoopsUser) { if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), $xoopsUser->getGroups())) { redirect_header(XOOPS_URL, 1, _NOPERM, false); exit(); } $xoopsUserIsAdmin = $xoopsUser->isAdmin($xoopsModule->getVar('mid')); } else { if (!$moduleperm_handler->checkRight('module_read', $xoopsModule->getVar('mid'), XOOPS_GROUP_ANONYMOUS)) { redirect_header(XOOPS_URL . "/user.php", 1, _NOPERM); exit(); } } if ($xoopsModule->getVar('hasconfig') == 1 || $xoopsModule->getVar('hascomments') == 1 || $xoopsModule->getVar( 'hasnotification' ) == 1) { $xoopsModuleConfig = $config_handler->getConfigsByCat(0, $xoopsModule->getVar('mid')); } chdir( 'modules/' . $xoopsConfig['startpage'] . '/' ); xoops_loadLanguage('main', $xoopsModule->getVar('dirname', 'n')); $parsed = parse_url(XOOPS_URL); $url = isset($parsed['scheme']) ? $parsed['scheme'].'://' : 'http://'; if ( isset( $parsed['host'] ) ) { $url .= $parsed['host']; if ( isset( $parsed['port'] ) ) { $url .= ':' . $parsed['port']; } } else { $url .= $_SERVER['HTTP_HOST']; } $_SERVER['REQUEST_URI'] = substr(XOOPS_URL, strlen($url)) . '/modules/' . $xoopsConfig['startpage'] . '/index.php'; include XOOPS_ROOT_PATH . '/modules/' . $xoopsConfig['startpage'] . '/index.php'; exit(); } else { $xoopsOption['show_cblock'] =1; include "header.php"; include "footer.php"; } ?>


and can't do anything...

The site is:
ARAL

Any Idea... Has it been hacked... Does not seem from logs but can be mistaken.

Please help.



25
dnprossi
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2008/12/15 14:05

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


OK... fpdf and tcpdf are quite hard to cope with as there are so many possible settings.

here is a temporary solution...

This is what I did to get at least tcpdf to run with utf-8 and run without error on xlanguage.

First remove all calls to function news_unhtml() in news/pdf/pdf.php lines 243,257,258 - UTF-8 will start working if language files have been set correctly.

Second I changed end of line 240 from
.....$article->uname()).'<br />'._MD_POSTEDON.' '.formatTimestamp($article->published(),$dateformat).'<br /><br /><br />';

to
.....$article->uname()).'<br /><br /><br /><br />';


formatTimestamp($article->published(),$dateformat);

seems to be the problem...

removing all date stuff and now when language is changed in xlanguage all works with no error.

Hope this can help find better solutions..



26
dnprossi
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2008/12/15 11:21

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Quote:
1/ Verify that a file exists in /xoops/modules/news/pdf/config/lang/mylanguage.php


Done - Languages used: en(english) - it(italian)

Quote:
2/ Verify that this file is configured to use UTF8


Done - both UTF-8

Quote:
3/ It's not impossible that I remove PDF generation from the next releases of the News module because the more it goes the less it runs (because of TPCDF).


Don't understand why PDF generation should be removed. I really need it... Would like it to work though...

As previously mentioned to get UTF-8 to work I had to remove calls to function news_unhtml() in news/pdf/pdf.php

any better Idea...



27
dnprossi
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2008/12/15 10:51

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


True!!!

Disappointing...



28
dnprossi
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2008/12/15 10:03

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Yes FPDF is there but looking into source pdf/pdf.php is called. Old makepdf.php is not called anylonger eventhough still there. I did try backporting to fpdf but can't get it to work on utf-8.

I'll try again...

No forum found at developer forum



29
dnprossi
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2008/12/15 7:08

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi ghia,

News 1.63 now uses TCPDF and not FPDF. This is in module/news/pdf directory. In any case I did set both English, Italian Languages.

In another installation without xLanguage, selecting languages from admin/preferences I don't get any error therefore i think it has to do with some coding in TCPDF that does not accept changing languages in xLanguage. Have no clue what it is though.

Also FPDF in Frameworks for 2.3.X works with UTF-8 and xLanguage but has right margin problems texts extends out of the page and does not recognize xLANGUAGE TAGS [en][/en].

Help!!



30
dnprossi
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2008/12/14 17:02

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Solved UTF-8 problem.

I removed all news_unhtml() function calls in modules/news/pdf/pdf.php file and now have correct utf-8 output.

Also found bug that adds a 1 to all to storyid on url parameter.

somewhere arround line 250 in modules/news/pdf/pdf.php file

$secondLine XOOPS_URL.'/modules/news/article.php?storyid=1'.$storyid;


and changed it to:

$secondLine XOOPS_URL.'/modules/news/article.php?storyid='.$storyid;


Still having problems when changing language with xlanguage getting error message.

Help!!!




TopTop
« 1 2 (3) 4 5 »



Login

Who's Online

119 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 119


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