Giter Site home page Giter Site logo

Comments (10)

mambax7 avatar mambax7 commented on June 20, 2024

I just installed the latest files on my WAMP with PHP 7.08, MySQL 5.7.13, and had no problems.

Can you check your error logs for PHP and MySQL and see if you find anything there?

from xoopscore25.

Supergran avatar Supergran commented on June 20, 2024

HI - No errors in MySQL log. The following in PHP log:
[17-Jul-2016 18:09:05 Etc/GMT-12] PHP Fatal error: Maximum execution time of 60 seconds exceeded in E:\vhosts\pedigreefinala\htdocs\class\database\mysqldatabase.php on line 66
[17-Jul-2016 18:09:05 Etc/GMT-12] PHP Stack trace:
[17-Jul-2016 18:09:05 Etc/GMT-12] PHP 1. {main}() E:\vhosts\pedigreefinala\htdocs\install\page_tablesfill.php:0
[17-Jul-2016 18:09:05 Etc/GMT-12] PHP 2. make_data() E:\vhosts\pedigreefinala\htdocs\install\page_tablesfill.php:70
[17-Jul-2016 18:09:05 Etc/GMT-12] PHP 3. Db_manager->insert() E:\vhosts\pedigreefinala\htdocs\install\include\makedata.php:111
[17-Jul-2016 18:09:05 Etc/GMT-12] PHP 4. XoopsMySQLDatabase->connect() E:\vhosts\pedigreefinala\htdocs\install\class\dbmanager.php:246

Which is pretty much as before - fail is at step 9/14 on ...install/page_siteinit.php
Error is reported on a blank page at ..page_tablesfill.php as you probably got from the error report.

from xoopscore25.

geekwright avatar geekwright commented on June 20, 2024

This sounds familiar. Try changing the MySQL host to 127.0.0.1 instead of localhost. This is an issue in recent Windows versions with IPv6 support and MySQL.

from xoopscore25.

mambax7 avatar mambax7 commented on June 20, 2024

She is on Mac, so this is actually a good link for her:
http://stackoverflow.com/questions/3699454/should-a-mamp-return-1-as-ip-on-localhost
But I had also issues on my WAMP on Windows in the past, and this link above helped to solve it.
What I had to do was to change in Apache Config file to:
Listen 127.0.0.1:80

from xoopscore25.

geekwright avatar geekwright commented on June 20, 2024

E:\chosts\… doesn't sound Mac like.

The base.issue is MySQL only binds to 1 address, but localhost can resolve to ::1 and 127.0.0.1. If you bind to the wrong one, you get a lengthy timeout each time you talk to the database.

from xoopscore25.

mambax7 avatar mambax7 commented on June 20, 2024

You're right - I thought that they have Mamp Pro only on Macs, but I see that they also have a Window version.

from xoopscore25.

Supergran avatar Supergran commented on June 20, 2024

Thank you both... yes it's windows...sounds as if this is my problem rather than with xoops. Interestingly Richard I used to use Wamp and had trouble with it on windows 10 so opted for Mamp Pro and that has worked fine until now and yes I'm getting the lengthy timeout. The GUI won't let me change the localhost...
i don't want to eat up your time as this clearly isn't an Xoops problem but if you have any ideas I'd be grateful. I've been googling for a couple of hours but I've not been able to find anything for the windows version. Strange I've not had a problem before. I've several hosts running various xoops set ups.
Again thanks. You've already helped.

from xoopscore25.

mambax7 avatar mambax7 commented on June 20, 2024

I've been using WAMP for the last 10 years or so, and had no problems that couldn't be solved.
For your issue, just follow the directions from the link I gave you above:

Find where your apache is 'listen'-ing to the ips/ports, etc... Typically this will be a line looking like this

Listen 80

Make it look like this:

Listen 127.0.0.1:80

Resave it. Restart Apache. Voila!

On my WAMP Apache, it is in:

/conf/httpd.conf

Just look for this section, and then change the "Listen" as follows:

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
Listen 127.0.0.1:80

from xoopscore25.

geekwright avatar geekwright commented on June 20, 2024

Sorry I wasn't clear. The change is in the XOOPS settings. Just enter 127.0.0.1 as the MySQL host during the install.

from xoopscore25.

Supergran avatar Supergran commented on June 20, 2024

Doh!" Sorry Richard, so wrapped up in Mamp I'd missed that completely. Thank you both That's worked...there's some tables that data hasn't been written to for some reason but I'm up and running. Thanks for your time. I'm very grateful.

from xoopscore25.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.