Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SL-DB Developed kit issue Only variables should be passed by reference #5

Open
CayEnigma opened this issue Nov 10, 2015 · 8 comments
Open

Comments

@CayEnigma
Copy link

There seems to be an issue on the index.php page.

The line $args = array_slice($path, end(array_keys($self))); (line 18)

brings this error
Strict Standards: Only variables should be passed by reference in /home/u904645523/public_html/EngimaSLDB/index.php on line 18
ERROR: INSUFFICIENT ARGUMENTS

My config info is this (below/password excluded), the index page I have not touched, except for maybe some line breaks before the /

So I am stuck and cannot do the step 4



@jgpippin
Copy link
Owner

First, let me be sure that you're attempting to install at /install, not by accessing index.php directly. It looks like PHP_SELF is returning NULL.

And second, what is your version of PHP?

@CayEnigma
Copy link
Author

my php version is 5.5.26 (hostinger)

the same error message came with both addresses, index and installer

On Wed, Nov 11, 2015 at 1:39 PM, jgpippin [email protected] wrote:

First, let me be sure that you're attempting to install at /install, not by
accessing index.php directly. It looks like PHP_SELF is returning NULL.

And second, what is your version of PHP?


Reply to this email directly or view it on GitHub.

@CayEnigma
Copy link
Author

Strict Standards: Only variables should be passed by reference in
/home/u904645523/public_html/EngimaSLDB/index.php on line 19

Deprecated: mysql_connect(): The mysql extension is deprecated and
will be removed in the future: use mysqli or PDO instead in
/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

Warning: mysql_connect(): Access denied for user
'u904645523_enigm'@'10.2.1.48' (using password: YES) in
/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14
ERROR: CANNOT CONNECT TO DATABASE.

On Wed, Nov 11, 2015 at 5:42 PM, Cay Enigma [email protected] wrote:

my php version is 5.5.26 (hostinger)

the same error message came with both addresses, index and installer

On Wed, Nov 11, 2015 at 1:39 PM, jgpippin [email protected] wrote:

First, let me be sure that you're attempting to install at /install, not by
accessing index.php directly. It looks like PHP_SELF is returning NULL.

And second, what is your version of PHP?


Reply to this email directly or view it on GitHub.

@jgpippin
Copy link
Owner

The first two aren't fatal errors, just code style warnings inherent to a newer version of PHP. The last isn't a code error; it indicates that the database either hasn't been set up properly or that the credentials are invalid. 

On Wed, Nov 11, 2015 at 7:46 AM -0800, "CayEnigma" [email protected] wrote:

Strict Standards: Only variables should be passed by reference in

/home/u904645523/public_html/EngimaSLDB/index.php on line 19

Deprecated: mysql_connect(): The mysql extension is deprecated and

will be removed in the future: use mysqli or PDO instead in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

Warning: mysql_connect(): Access denied for user

'u904645523_enigm'@'10.2.1.48' (using password: YES) in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

ERROR: CANNOT CONNECT TO DATABASE.

On Wed, Nov 11, 2015 at 5:42 PM, Cay Enigma [email protected] wrote:

my php version is 5.5.26 (hostinger)

the same error message came with both addresses, index and installer

On Wed, Nov 11, 2015 at 1:39 PM, jgpippin [email protected] wrote:

First, let me be sure that you're attempting to install at /install, not by

accessing index.php directly. It looks like PHP_SELF is returning NULL.

And second, what is your version of PHP?

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.

@CayEnigma
Copy link
Author

Yeah :(

I am pretty sure the setting up is too much for me, as I am used to html
and I cannot even guess what the php needs

On Sat, Nov 14, 2015 at 2:16 AM, jgpippin [email protected] wrote:

The first two aren't fatal errors, just code style warnings inherent to a
newer version of PHP. The last isn't a code error; it indicates that the
database either hasn't been set up properly or that the credentials are
invalid.

On Wed, Nov 11, 2015 at 7:46 AM -0800, "CayEnigma" <
[email protected]> wrote:

Strict Standards: Only variables should be passed by reference in

/home/u904645523/public_html/EngimaSLDB/index.php on line 19

Deprecated: mysql_connect(): The mysql extension is deprecated and

will be removed in the future: use mysqli or PDO instead in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

Warning: mysql_connect(): Access denied for user

'u904645523_enigm'@'10.2.1.48' (using password: YES) in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

ERROR: CANNOT CONNECT TO DATABASE.

On Wed, Nov 11, 2015 at 5:42 PM, Cay Enigma [email protected] wrote:

my php version is 5.5.26 (hostinger)

the same error message came with both addresses, index and installer

On Wed, Nov 11, 2015 at 1:39 PM, jgpippin [email protected]
wrote:

First, let me be sure that you're attempting to install at /install,
not by

accessing index.php directly. It looks like PHP_SELF is returning NULL.

And second, what is your version of PHP?

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#5 (comment).

@jgpippin
Copy link
Owner

Did you create a database and user through your hosting provider? We should be able to get this set up. 

On Sun, Nov 15, 2015 at 8:49 AM -0800, "CayEnigma" [email protected] wrote:

Yeah :(

I am pretty sure the setting up is too much for me, as I am used to html

and I cannot even guess what the php needs

On Sat, Nov 14, 2015 at 2:16 AM, jgpippin [email protected] wrote:

The first two aren't fatal errors, just code style warnings inherent to a

newer version of PHP. The last isn't a code error; it indicates that the

database either hasn't been set up properly or that the credentials are

invalid.

On Wed, Nov 11, 2015 at 7:46 AM -0800, "CayEnigma" <

[email protected]> wrote:

Strict Standards: Only variables should be passed by reference in

/home/u904645523/public_html/EngimaSLDB/index.php on line 19

Deprecated: mysql_connect(): The mysql extension is deprecated and

will be removed in the future: use mysqli or PDO instead in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

Warning: mysql_connect(): Access denied for user

'u904645523_enigm'@'10.2.1.48' (using password: YES) in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

ERROR: CANNOT CONNECT TO DATABASE.

On Wed, Nov 11, 2015 at 5:42 PM, Cay Enigma [email protected] wrote:

my php version is 5.5.26 (hostinger)

the same error message came with both addresses, index and installer

On Wed, Nov 11, 2015 at 1:39 PM, jgpippin [email protected]

wrote:

First, let me be sure that you're attempting to install at /install,

not by

accessing index.php directly. It looks like PHP_SELF is returning NULL.

And second, what is your version of PHP?

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub

#5 (comment).


Reply to this email directly or view it on GitHub.

@CayEnigma
Copy link
Author

I have a domain: enigmababies.esy.es

I have a MySql database
https://cpanel.hostinger.co.uk/databases/mysql-databases/aid/17221489

which is u904645523_enigm
That is also the user

I have used FileZilla FTP to drag the files (after I changed my data to
them) to the root, but now I am thinking that must be the issue,

On Sun, Nov 15, 2015 at 7:22 PM, jgpippin [email protected] wrote:

Did you create a database and user through your hosting provider? We
should be able to get this set up.

On Sun, Nov 15, 2015 at 8:49 AM -0800, "CayEnigma" <
[email protected]> wrote:

Yeah :(

I am pretty sure the setting up is too much for me, as I am used to html

and I cannot even guess what the php needs

On Sat, Nov 14, 2015 at 2:16 AM, jgpippin [email protected]
wrote:

The first two aren't fatal errors, just code style warnings inherent to a

newer version of PHP. The last isn't a code error; it indicates that the

database either hasn't been set up properly or that the credentials are

invalid.

On Wed, Nov 11, 2015 at 7:46 AM -0800, "CayEnigma" <

[email protected]> wrote:

Strict Standards: Only variables should be passed by reference in

/home/u904645523/public_html/EngimaSLDB/index.php on line 19

Deprecated: mysql_connect(): The mysql extension is deprecated and

will be removed in the future: use mysqli or PDO instead in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

Warning: mysql_connect(): Access denied for user

'u904645523_enigm'@'10.2.1.48' (using password: YES) in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

ERROR: CANNOT CONNECT TO DATABASE.

On Wed, Nov 11, 2015 at 5:42 PM, Cay Enigma [email protected]
wrote:

my php version is 5.5.26 (hostinger)

the same error message came with both addresses, index and installer

On Wed, Nov 11, 2015 at 1:39 PM, jgpippin [email protected]

wrote:

First, let me be sure that you're attempting to install at /install,

not by

accessing index.php directly. It looks like PHP_SELF is returning
NULL.

And second, what is your version of PHP?

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub

#5 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#5 (comment).

@CayEnigma
Copy link
Author

The files are in http://www.enigmababies.esy.es/EngimaSLDB/ folder not in
the root, sorry

On Sun, Nov 15, 2015 at 8:28 PM, Cay Enigma [email protected] wrote:

I have a domain: enigmababies.esy.es

I have a MySql database
https://cpanel.hostinger.co.uk/databases/mysql-databases/aid/17221489

which is u904645523_enigm
That is also the user

I have used FileZilla FTP to drag the files (after I changed my data to
them) to the root, but now I am thinking that must be the issue,

On Sun, Nov 15, 2015 at 7:22 PM, jgpippin [email protected]
wrote:

Did you create a database and user through your hosting provider? We
should be able to get this set up.

On Sun, Nov 15, 2015 at 8:49 AM -0800, "CayEnigma" <
[email protected]> wrote:

Yeah :(

I am pretty sure the setting up is too much for me, as I am used to html

and I cannot even guess what the php needs

On Sat, Nov 14, 2015 at 2:16 AM, jgpippin [email protected]
wrote:

The first two aren't fatal errors, just code style warnings inherent to
a

newer version of PHP. The last isn't a code error; it indicates that the

database either hasn't been set up properly or that the credentials are

invalid.

On Wed, Nov 11, 2015 at 7:46 AM -0800, "CayEnigma" <

[email protected]> wrote:

Strict Standards: Only variables should be passed by reference in

/home/u904645523/public_html/EngimaSLDB/index.php on line 19

Deprecated: mysql_connect(): The mysql extension is deprecated and

will be removed in the future: use mysqli or PDO instead in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

Warning: mysql_connect(): Access denied for user

'u904645523_enigm'@'10.2.1.48' (using password: YES) in

/home/u904645523/public_html/EngimaSLDB/sldb.php on line 14

ERROR: CANNOT CONNECT TO DATABASE.

On Wed, Nov 11, 2015 at 5:42 PM, Cay Enigma [email protected]
wrote:

my php version is 5.5.26 (hostinger)

the same error message came with both addresses, index and installer

On Wed, Nov 11, 2015 at 1:39 PM, jgpippin [email protected]

wrote:

First, let me be sure that you're attempting to install at /install,

not by

accessing index.php directly. It looks like PHP_SELF is returning
NULL.

And second, what is your version of PHP?

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub

#5 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#5 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants