1091
Mamba
Re: Error on Localhost
  • 2020/12/31 18:27

  • Mamba

  • Moderator

  • Posts: 11391

  • Since: 2004/4/23


Probably something is wrong with your PHP version and your Apache server. Check in your php.ini file if mysql extension is set on for loading.

Try to reload Apache or switch to another PHP version. I had one time a similar issue and while the php.ini was OK, I had to switch to another PHP version to make it work.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1092
Zap_English
Re: Error on Localhost

Error : mysql extension not loaded

what does that mean?



1093
Mamba
Re: Error on Localhost
  • 2020/12/31 11:39

  • Mamba

  • Moderator

  • Posts: 11391

  • Since: 2004/4/23


Since I don't have access to it, I can only guess...

Another way to make it work is to:

a) make a fresh installation of XOOPS 2.5.9-Beta2, and make sure that it works (let's call it Z3)
b) copy all the extra modules from Zec2 to this Z3 installation
c) import the database from your Zec2 installation to your local MySQL (by using, for example, phpMyAdmin)
d) in your Z3 installation, go to /xoops_data/data/
and make a backup of the file secure.php
e) in the Z3's secure.php replace the values for the Z3 database to the values of your imported Zec2 database (i.e. XOOPS_DB_PREFIX, XOOPS_DB_USER, XOOPS_DB_PASS, XOOPS_DB_NAME)

See if this would work for you....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1094
goffy
Re: XOOPS INDUSTRY THEME
  • 2020/12/31 10:27

  • goffy

  • Just can't stay away

  • Posts: 542

  • Since: 2010/12/27


looks great.
thank you for sharing



1095
goffy
Re: xmdoc 1.1 Final Released
  • 2020/12/31 10:21

  • goffy

  • Just can't stay away

  • Posts: 542

  • Since: 2010/12/27


good news :)



1096
Zap_English
Re: Error on Localhost

You're right, they were read only so I changed them all but I'm still getting

Warning: Cache Engine file is not initialized in D:\xampp\htdocs\zec2\class\cache\xoopscache.php on line 179

Warning: Cache Engine file is not set in D:\xampp\htdocs\zec2\class\cache\xoopscache.php on line 137



1097
Mamba
Re: Error on Localhost
  • 2020/12/31 8:29

  • Mamba

  • Moderator

  • Posts: 11391

  • Since: 2004/4/23


Resized Image


Your cache folders should be under /xoops_data/caches/

If they are, but you're getting errors, you might also check if they are writable, i.e. if they have 777 status on Linux, or on Windows they are not set to "Read-only"
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



1098
Zap_English
Re: Error on Localhost

So I changed it back and now I get
Warning: Cache Engine file is not initialized in D:\xampp\htdocs\zec2\class\cache\xoopscache.php on line 179

Warning: Cache Engine file is not set in D:\xampp\htdocs\zec2\class\cache\xoopscache.php on line 137

here's all the paths

XOOPS_ROOT_PATH', 'D:\xampp\htdocs\zec2
XOOPS_PATH', 'D:\xampp\htdocs\zec2\xoops_lib
XOOPS_VAR_PATH', 'D:\xampp\htdocs\zec2\xoops_data
XOOPS_URL', '/localhost/zec2
XOOPS_VAR_PATH . '\data\secure.php



1099
Zap_English
Re: Error on Localhost

THe path was originally XOOPS_VAR_PATH', 'D:\xampp\htdocs\zec2\xoops_data

but you said it should be /xoops_data/caches

and secure.php is in D:\xampp\htdocs\zec2\xoops_data\data\secure.php

And the cache folders are in D:\xampp\htdocs\zec2\xoops_data\caches\



1100
Mamba
Re: Error on Localhost
  • 2020/12/31 7:46

  • Mamba

  • Moderator

  • Posts: 11391

  • Since: 2004/4/23


You have again issue with the mainfile.php pointing to something that doesn't exist, in this case, the file secure.php

Normally, the "secure.php" file should be in:
/xoops_data/data/ folder
which in your case would be:
D:\xampp\htdocs\zec2\xoops_data\data\secure.php

But the mainfile.php points to
"D:\xampp\htdocs\zec2\xoops_data\caches\data\secure.php"
which is the wrong location.

The location is defined in mainfile.php as:
require XOOPS_VAR_PATH '/data/secure.php';


But you seem to define the XOOPS_VAR_PATH as

define('XOOPS_VAR_PATH', 'D:\xampp\htdocs\zec2\xoops_data\caches\');

while it should be defined as:

define('XOOPS_VAR_PATH', 'D:\xampp\htdocs\zec2\xoops_data');


So in order to keep things consistent with XOOPS standards, I would suggest to change it back to that, and then move the cache folders to D:\xampp\htdocs\zec2\xoops_data\caches\
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs




TopTop
« 1 ... 107 108 109 (110) 111 112 113 ... 29430 »



Login

Who's Online

323 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 323


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