Comments (15)
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.
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.
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.
Show me your config.lua
You can paste it on pastebin.com
Remember to remove sensitive data like mysqlPassword.
from myaac.
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.
[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.
@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.
from myaac.
Working 100%
from myaac.
@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.
@slawkens removed, error 500 :(
from myaac.
I'll format the dedicated and install
from myaac.
from myaac.
line 45 and 46
if(!empty($page))
$uri = str_replace('/', '', $uri);
from myaac.
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)
- improvement: move FAQ to admin panel HOT 3
- Guild Accept Invite Does Not Work HOT 1
- Docker container support HOT 2
- Add a security policy HOT 3
- guildwar page error HOT 1
- Cannot find config.lua HOT 3
- Bug in forum HOT 6
- Online status HOT 9
- Guilds already invited - problem exception HOT 1
- Sample Characters should not show in Highscore lists HOT 2
- Error while create new character HOT 5
- Myaac v0.8.14 buttons error HOT 3
- The requested URL /admin/?p=gifts was not found on this server. HOT 9
- Error transferring 'machineIP/login.php - server replied: Internal Server Error HOT 2
- Boosted Creatures
- creatures.php / monsters.php XSS HOT 1
- config.php: character deleted doesn't work HOT 2
- Cach don't work on myaac 1.0 beta (Solved) HOT 2
- Manage accounts admin page does not work (Solved) HOT 1
- delete please HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myaac.