1
jochen2011
Re: database connection issue ?
  • 2012/2/29 11:56

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Hi Peekay, on the root the hello world script works, but not inside any other folder.

Thank you very much for your help !

Now I`m gonna beat the hoster

If it other problems occur I `ll return.

br, Jochen



2
jochen2011
Re: database connection issue ?
  • 2012/2/28 15:53

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Hi Peekay,

that`s allOK, i just saw that accessing the page with IE I am asked to download a file named agents without any file extension. Opening that file with an editor it has the same source as the index.php-file.


That something does not get parsed the way it should, was also my first thought, so I just entered the hoster`s page and found the following:

PHP4 support Run as an Apache module
PHP5 support Run as a CGI application

is this ok ?

I use xoops version 2-5-1


puhh, I dont know why



3
jochen2011
database connection issue ?
  • 2012/2/28 14:49

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Hi all, we moved all files from a running xoops-installation to another hoster.

At the new hoster I created a new MySQL-database and I also already changed the database values in "secure.php" . Additionally I changed the absolute path information in "mainfile.ph" .
Are there some more files that need to be changed ? If yes, which one`s ?

Momentary I cannot acces my xoops page at http://www.refineasia.com/agents/

The following error-message is displayed, that`s all.

Anyone an idea ? Thanks in advance, Jochen


* @author Skalpa Keo * @author Taiwen Jiang * @version $Id: index.php 4941 2010-07-22 17:13:36Z beckmi $ */ include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mainfile.php'; $xoopsPreload =& XoopsPreload::getInstance(); $xoopsPreload->triggerEvent('core.index.start'); //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 $GLOBALS['xoops']->path('header.php'); echo "
" . _MODULENOEXIST . "
"; include_once $GLOBALS['xoops']->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 $GLOBALS['xoops']->path('modules/' . $xoopsConfig['startpage'] . '/index.php'); exit(); } else { $xoopsOption['show_cblock'] = 1; $xoopsOption['template_main'] = "db:system_homepage.html"; include $GLOBALS['xoops']->path('header.php'); include $GLOBALS['xoops']->path('footer.php'); } ?>



4
jochen2011
Register problem
  • 2011/10/12 15:51

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Hi all,

I just installed the xoops version 2.5.1 , added and modifyed the prais-corps theme and all was ok. Since I hde the navigation blocks on the left the following error occurs:

everytime the register-link is clicked, the error message "sorry you dont have access....." appears and I cannot register.

Is this a known bug or do I have to show the left navigation blocks always ?

Thanks for every answer in advance, Jochen



5
jochen2011
Re: Login fails 2.5x
  • 2011/7/22 10:06

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


After setting debug mode via phpmyadmin to 1 i get the following

Fehler
Hinweis: Use of undefined constant _OXYGEN_NEWS - assumed '_OXYGEN_NEWS' in Datei /modules/system/themes/default/default.php Zeile 89
Hinweis: Use of undefined constant _OXYGEN_SYSOPTIONS - assumed '_OXYGEN_SYSOPTIONS' in Datei /modules/system/themes/default/default.php Zeile 102
Hinweis: Use of undefined constant _OXYGEN_GENERAL - assumed '_OXYGEN_GENERAL' in Datei /modules/system/themes/default/default.php Zeile 174
Hinweis: Use of undefined constant _OXYGEN_USERSETTINGS - assumed '_OXYGEN_USERSETTINGS' in Datei /modules/system/themes/default/default.php Zeile 179
Hinweis: Use of undefined constant _OXYGEN_METAFOOTER - assumed '_OXYGEN_METAFOOTER' in Datei /modules/system/themes/default/default.php Zeile 184
Hinweis: Use of undefined constant _OXYGEN_CENSOR - assumed '_OXYGEN_CENSOR' in Datei /modules/system/themes/default/default.php Zeile 189
Hinweis: Use of undefined constant _OXYGEN_SEARCH - assumed '_OXYGEN_SEARCH' in Datei /modules/system/themes/default/default.php Zeile 194
Hinweis: Use of undefined constant _OXYGEN_MAILER - assumed '_OXYGEN_MAILER' in Datei /modules/system/themes/default/default.php Zeile 199
Hinweis: Use of undefined constant _OXYGEN_AUTHENTICATION - assumed '_OXYGEN_AUTHENTICATION' in Datei /modules/system/themes/default/default.php Zeile 204
Hinweis: Use of undefined constant _OXYGEN_MODULESETTINGS - assumed '_OXYGEN_MODULESETTINGS' in Datei /modules/system/themes/default/default.php Zeile 209
Hinweis: Use of undefined constant _OXYGEN_SYSOPTIONS - assumed '_OXYGEN_SYSOPTIONS' in Datei /modules/system/themes/default/default.php Zeile 216
Hinweis: Use of undefined constant _OXYGEN_SITEPREF - assumed '_OXYGEN_SITEPREF' in Datei /modules/system/themes/default/default.php Zeile 233
Hinweis: Use of undefined constant _OXYGEN_WEBSITE - assumed '_OXYGEN_WEBSITE' in Datei /modules/system/themes/default/default.php Zeile 239
Hinweis: Use of undefined constant _OXYGEN_XOOPSTHEMES - assumed '_OXYGEN_XOOPSTHEMES' in Datei /modules/system/themes/default/default.php Zeile 244
Hinweis: Use of undefined constant _OXYGEN_XOOPSMODULES - assumed '_OXYGEN_XOOPSMODULES' in Datei /modules/system/themes/default/default.php Zeile 249
Hinweis: Use of undefined constant _OXYGEN_SOURCEFORGE - assumed '_OXYGEN_SOURCEFORGE' in Datei /modules/system/themes/default/default.php Zeile 254
Hinweis: Use of undefined constant _OXYGEN_INTERESTSITES - assumed '_OXYGEN_INTERESTSITES' in Datei /modules/system/themes/default/default.php Zeile 257
abgelehnt
Abfragen
0.000973 - SET NAMES 'utf8'
0.000632 - SET SQL_BIG_SELECTS = 1
0.001485 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '1') ORDER BY conf_order ASC
0.000717 - SELECT sess_data, sess_ip FROM session WHERE sess_id = 'l3qcro8f5n68ddtdblpiddh120'
0.000942 - SELECT * FROM users WHERE uid = '1'
0.000771 - SELECT * FROM modules WHERE dirname = 'system'
0.000925 - SELECT * FROM config WHERE (conf_modid = '1') ORDER BY conf_order ASC
0.000697 - SELECT * FROM modules WHERE dirname = 'protector'
0.000969 - DELETE FROM protector_access WHERE expire < UNIX_TIMESTAMP()
0.000668 - SELECT COUNT(*) FROM protector_access WHERE ip='80.136.97.120' AND request_uri='/rlt/modules/system/admin.php?fct=maintenance&PHPSESSID=l3qcro8f5n68ddtdblpiddh120'
0.001020 - SELECT COUNT(*) FROM protector_access WHERE ip='80.136.97.120'
0.000692 - INSERT INTO protector_access SET ip='80.136.97.120',request_uri='/rlt/modules/system/admin.php?fct=maintenance&PHPSESSID=l3qcro8f5n68ddtdblpiddh120',expire=UNIX_TIMESTAMP()+'60'
0.000835 - SELECT * FROM config WHERE (conf_modid = '0' AND conf_catid = '3') ORDER BY conf_order ASC
0.000735 - SELECT * FROM modules WHERE (hasadmin = '1' AND isactive = '1') ORDER BY weight ASC, mid ASC
0.000648 - SELECT COUNT(*) FROM catads_ads WHERE uid = '1'
0.001398 - SELECT * FROM modules WHERE dirname = 'eguide'
0.001608 - SELECT * FROM config WHERE (conf_modid = '26') ORDER BY conf_order ASC
0.000723 - SELECT * FROM eguide_category WHERE catpri=0 ORDER BY weight,catid
0.001806 - SHOW TABLES
0.001253 - SHOW TABLES
0.000716 - SELECT * FROM modules WHERE (hasmain = '1' AND isactive = '1') ORDER BY weight ASC, mid ASC
Zusammen: 21
Blöcke
Zusammen: 0
Extras
inbegriffene Dateien: 166 Dateien
Speicher: 5888376 bytes
Zeitmessung
XOOPS brauchte 2.284 Sekunden zum laden.
XOOPS Boot brauchte 0.476 Sekunden zum laden.
Module init brauchte 0.670 Sekunden zum laden.
XOOPS output init brauchte 0.043 Sekunden zum laden.
Module display brauchte 0.871 Sekunden zum laden.
Page rendering brauchte 0.223 Sekunden zum laden.


What is the "Oxygen-thing" ?

all files corupted ?



6
jochen2011
Re: Login fails 2.5x
  • 2011/7/17 12:10

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


it started as follows:

when I was able to login (some days ago) I clicked on my username and I got a blank page only. Then I could not login anymore

So I replaced user.php and userinfo.php and still no login possible.

So all my work is for nothing ? Will I have to reinstall everything ?



7
jochen2011
Re: Login fails 2.5x
  • 2011/7/17 11:32

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


just repaired all tables vie phpmyadmin, but still the same



8
jochen2011
Re: Login fails 2.5x
  • 2011/7/17 10:02

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Hi Mamba, the problem is, Icannot login, so how to go on now ?



9
jochen2011
Login fails 2.5x
  • 2011/7/16 22:55

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Since some days I cannot login anymore, neither as admin nor as a user.

After click on login, I see the message "Thank you for logging in...." and then it redirects to the index.php, but iI am not logged in.

I tryed already with another user.php-file and userinfo.php-file, but still the same.

Anyone an idea ?

Thanks in advance, Jochen

xoops 2.5.0
php5
mysql4



10
jochen2011
IE8 bug ?
  • 2011/7/11 10:45

  • jochen2011

  • Just popping in

  • Posts: 25

  • Since: 2011/3/5 1


Hi all, since yesterday I cannot login to my xoops site with internetexplorer 8 .

All other browsers like firefox and opera work fine.

I use xoops2.5.0
latest php and mysql version.

debugging mode shows no problems

anyone an idea ?

thanks in advance, Jochen




TopTop
(1) 2 3 »



Login

Who's Online

68 user(s) are online (50 user(s) are browsing Support Forums)


Members: 1


Guests: 67


liomj,

more...

Donat-O-Meter

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

Latest GitHub Commits