Giter VIP home page Giter VIP logo

Comments (15)

Qwizer avatar Qwizer commented on September 17, 2024

chown -R www-data.www-data /var/www/*
chmod 660 config.local.php
chmod 660 images/guilds
chmod 660 images/houses
chmod 660 images/screenshots
installation successful

from myaac.

slawkens avatar slawkens commented on September 17, 2024

Can you check what's in your php.log? Its in /var/log/apache2/error.log

Simply do in command line:
cat /var/log/apache2/error.log

from myaac.

Tetee11 avatar Tetee11 commented on September 17, 2024

i had this error after the step: configuration

this is my log
[Wed Oct 11 15:12:22.359265 2017] [php7:crit] [pid 6956:tid 1940] [client ::1:6240] PHP Parse error: syntax error, unexpected '--' (T_DEC), expecting ';' in C:\\Users\\Admin\\Documents\\UniServerZ\\www\\system\\functions.php(1186) : eval()'d code on line 1, referer: http://localhost/install/

from myaac.

slawkens avatar slawkens commented on September 17, 2024

Show me your config.lua

You can paste it on pastebin.com

Remember to remove sensitive data like mysqlPassword.

from myaac.

Tetee11 avatar Tetee11 commented on September 17, 2024

I tested in OTX 2 and OTHire
this are the config.lua of both


https://github.com/mattyx14/otxserver/blob/otxserv2/path_7_x/config.lua (obviously I had it sqlType="mysql")

https://github.com/TwistedScorpio/OTHire/blob/master/config.lua

from myaac.

Qwizer avatar Qwizer commented on September 17, 2024

[Wed Oct 11 17:05:54 2017] [error] [client 177.5.192.97] PHP Parse error: syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /var/www/index.php on line 45

from myaac.

slawkens avatar slawkens commented on September 17, 2024

@Qwizer Update your MyAAC to latest version.

@Tetee11 I've fixed this bug. Download latest version.

Link to latest version: https://github.com/slawkens/myaac/archive/master.zip

from myaac.

Qwizer avatar Qwizer commented on September 17, 2024

image
image
No error
image
admin panel 100%
image

from myaac.

Tetee11 avatar Tetee11 commented on September 17, 2024

Working 100%

from myaac.

slawkens avatar slawkens commented on September 17, 2024

@Qwizer
Uncomment in your index.php:
// uncomment if your php.ini have display_errors disabled and you want to see errors

and also 3 next lines. remove '//'.

from myaac.

Qwizer avatar Qwizer commented on September 17, 2024

@slawkens removed, error 500 :(

from myaac.

Qwizer avatar Qwizer commented on September 17, 2024

I'll format the dedicated and install

from myaac.

Qwizer avatar Qwizer commented on September 17, 2024

last version
image

php info
image

from myaac.

Qwizer avatar Qwizer commented on September 17, 2024

line 45 and 46

if(!empty($page))
$uri = str_replace('/', '', $uri);

work
image

from myaac.

slawkens avatar slawkens commented on September 17, 2024

You were right. That error occurred on PHP versions lower than 5.5, and you have 5.4 so you were the case.

I fixed it by changing that line you posted, from:
if(!empty(BASE_DIR))

To:
$tmp = BASE_DIR; if(!empty($tmp))

from myaac.

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.