New to Xampp. Looking for help.

Problems with the Windows version of XAMPP, questions, comments, and anything related.

New to Xampp. Looking for help.

Postby kenny1999 » 30. March 2016 02:33

I hired someone on the web to create a website which can be dynamically modified and managed. Now he has delivered me the project, but he refused to tell me how to run the control/admin panel or provide any help.

I just get a zip package with lots of files that I don't know what they are.

I am using window 7, I have already installed XAMPP Control Panel v3.2.2
XAMPP Version: 5.6.19
I have already "started" Apache and MySQL

Can you guy please let me know how to install the project and run the file??

Thank you so much!!!!!
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Re: New to Xampp. Looking for help.

Postby Altrea » 30. March 2016 05:42

kenny1999 wrote:Can you guy please let me know how to install the project and run the file??

Thats very difficult, because we don't know anything about that project, not the file structure, not the code...
We cannot have any clue how to install that project.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: New to Xampp. Looking for help.

Postby kenny1999 » 30. March 2016 09:07

Altrea wrote:
kenny1999 wrote:Can you guy please let me know how to install the project and run the file??

Thats very difficult, because we don't know anything about that project, not the file structure, not the code...
We cannot have any clue how to install that project.



the website designer told me to install and execute the project with XAMPP
, so it's supposed to be XAMPP file..

Since I have little knowledge about making website and even NO knowledge about XAMPP, I hope you can help.. Please let me know which directory should I put the project file into or how to run it.
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Re: New to Xampp. Looking for help.

Postby Altrea » 30. March 2016 09:26

XAMPP is just an Webserver environment. There is nothing like a "XAMPP file" you need to execute to install your project.
Are you willing to send me the zip file via E-Mail so i can take a look at it to see how you must install it?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: New to Xampp. Looking for help.

Postby Nobbie » 30. March 2016 10:46

kenny1999 wrote:but he refused to tell me how to run the control/admin panel or provide any help.


So you should refuse to pay him, a software without installation description is quite useless.

kenny1999 wrote:the website designer told me to install and execute the project with XAMPP
, so it's supposed to be XAMPP file..


Xampp is a "Distribution" (a software collection) of different webserver tools, there is no "Xampp File". This hint does not contain any usefull information, it is quite the same as "run it under Windows" or similar.

kenny1999 wrote:Please let me know which directory should I put the project file into or how to run it.


Try to put your files to the folder c:/xampp/htdocs, it may be usefull to create your own subfolder, lets call it "myfolder", so finally your stuff is stored in c:/xampp/htdocs/myfolder and after you started Xampp, enter http://localhost/myfolder in your browser. Please understand, that we cannot give any information to any error messages, as we have no idea, what you are doing there. If your project requires an SQL Database, you *MUST* ask for a proper installation documentation, it is impossible to assume "something" out of the blue.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: New to Xampp. Looking for help.

Postby kenny1999 » 30. March 2016 19:24

Altrea wrote:XAMPP is just an Webserver environment. There is nothing like a "XAMPP file" you need to execute to install your project.
Are you willing to send me the zip file via E-Mail so i can take a look at it to see how you must install it?



hi yea, of course I am willing to send you the file via Email. My pleasure.

May I know your email
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Re: New to Xampp. Looking for help.

Postby kenny1999 » 30. March 2016 19:34

Nobbie wrote:
kenny1999 wrote:but he refused to tell me how to run the control/admin panel or provide any help.


So you should refuse to pay him, a software without installation description is quite useless.

kenny1999 wrote:the website designer told me to install and execute the project with XAMPP
, so it's supposed to be XAMPP file..


Xampp is a "Distribution" (a software collection) of different webserver tools, there is no "Xampp File". This hint does not contain any usefull information, it is quite the same as "run it under Windows" or similar.

kenny1999 wrote:Please let me know which directory should I put the project file into or how to run it.


Try to put your files to the folder c:/xampp/htdocs, it may be usefull to create your own subfolder, lets call it "myfolder", so finally your stuff is stored in c:/xampp/htdocs/myfolder and after you started Xampp, enter http://localhost/myfolder in your browser. Please understand, that we cannot give any information to any error messages, as we have no idea, what you are doing there. If your project requires an SQL Database, you *MUST* ask for a proper installation documentation, it is impossible to assume "something" out of the blue.



Yeah , I have put the files in C:/xampp/htdocs . He told me to do that as well.
He also instructed me to "start" Apache" and "MySQL" on the XAMPP Control Panel.

After doing the above and entering the following piece of text into the URL bar on Google Chrome....
http://localhost/project/carrara(1)/carrara/cont/faraz_php_first_site/admin/allcat.php


The Chrome Gives the message

Fatal error: Call to undefined function mysql_connect() in C:\xampp\htdocs\project\carrara(1)\carrara\cont\faraz_php_first_site\admin\connection.php on line 2




*** I paid him through Fiver. I didn't know there was only 3 days to revise the delivery. Now it's marked as complete. His attitude has changed totally. He delays to help, avoids answering questions, very irresponsible. ***
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Re: New to Xampp. Looking for help.

Postby Altrea » 30. March 2016 22:50

kenny1999 wrote:Fatal error: Call to undefined function mysql_connect() in C:\xampp\htdocs\project\carrara(1)\carrara\cont\faraz_php_first_site\admin\connection.php on line 2

This project uses the old mysql_ functions, which is not good (i would not pay for any php project not using the new mysqli or PDO driver to connect with MySQL).
This will work with XAMPP 5.6.19 but no longer on the next major version XAMPP 7.X.
To enable this old mysql_ functions you need to edit your \xampp\php\php.ini configuration file.
open it in a plain text editor of your choice (for example Windows notepad, but NOT Microsoft Word)
Search for the line
Code: Select all
;;extension=php_mysql.dll

and remove the two ;; at the beginning.
Save the file and restart Apache.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: New to Xampp. Looking for help.

Postby kenny1999 » 31. March 2016 02:32

Altrea wrote:
kenny1999 wrote:Fatal error: Call to undefined function mysql_connect() in C:\xampp\htdocs\project\carrara(1)\carrara\cont\faraz_php_first_site\admin\connection.php on line 2

This project uses the old mysql_ functions, which is not good (i would not pay for any php project not using the new mysqli or PDO driver to connect with MySQL).
This will work with XAMPP 5.6.19 but no longer on the next major version XAMPP 7.X.
To enable this old mysql_ functions you need to edit your \xampp\php\php.ini configuration file.
open it in a plain text editor of your choice (for example Windows notepad, but NOT Microsoft Word)
Search for the line
Code: Select all
;;extension=php_mysql.dll

and remove the two ;; at the beginning.
Save the file and restart Apache.



Hi !! Thanks!!!! It works!! Thanks so much!!! I finally the first time to see the "login page"

but excuse me....

1. In the admin login page, there is Username and Password. Where can I find out the username and password? (As I said, he just simply "disappear" now )

2. What is the difference between the old mysql_ and new mysql_ ?? I know nothing about programming
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Re: New to Xampp. Looking for help.

Postby Altrea » 31. March 2016 09:17

kenny1999 wrote:1. In the admin login page, there is Username and Password. Where can I find out the username and password?

Depends highly on the application. If the application is well written then you would only find the password encrypted in an database dump for example but nowhere in plain text.

kenny1999 wrote:2. What is the difference between the old mysql_ and new mysql_ ?? I know nothing about programming

Mainly the support for the old mysql_ functions has ended, so in future Versions of XAMPP (or any other Webserver with PHP 7+) will not have the functions included and you will not get your application working unless you rewrite these functions

The new mysqli functions are still supported and beside this has some nice features. You as a non programmer can't estimate the benefit of it exept that the old functions are no longer implemented in the newest PHP versions.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: New to Xampp. Looking for help.

Postby Nobbie » 31. March 2016 10:34

kenny1999 wrote:1. In the admin login page, there is Username and Password. Where can I find out the username and password?


We dont know which User is meant by this login. If (for example) the standard MySQL User is meant, enter "root" (without quotes of course) as Username and leave Password empty. If this does not work, I would try something like "admin" and "admin" as UserID and Password (this is standard for many routers etc.). But anyway you should ask that asshole, what UserId is meant there. What kind of application is that? What is it good for?
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: New to Xampp. Looking for help.

Postby kenny1999 » 31. March 2016 14:54

Altrea wrote:
kenny1999 wrote:1. In the admin login page, there is Username and Password. Where can I find out the username and password?

Depends highly on the application. If the application is well written then you would only find the password encrypted in an database dump for example but nowhere in plain text.

kenny1999 wrote:2. What is the difference between the old mysql_ and new mysql_ ?? I know nothing about programming

Mainly the support for the old mysql_ functions has ended, so in future Versions of XAMPP (or any other Webserver with PHP 7+) will not have the functions included and you will not get your application working unless you rewrite these functions

The new mysqli functions are still supported and beside this has some nice features. You as a non programmer can't estimate the benefit of it exept that the old functions are no longer implemented in the newest PHP versions.




Hi . If I don't update my XAMPP control panel when there is new update ( the current version I have installed is XAMPP Control Panel v3.2.2 Complied : Nov 12th 2015 )
Will I be able to keep the old mysql_functions?? Or will I be able to keep my website working??

2. Can I send you the project and you help me check if it's a poorly written project and I can find the username and password for administration?

Thank you.
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Re: New to Xampp. Looking for help.

Postby kenny1999 » 31. March 2016 15:07

Nobbie wrote:
kenny1999 wrote:1. In the admin login page, there is Username and Password. Where can I find out the username and password?


We dont know which User is meant by this login. If (for example) the standard MySQL User is meant, enter "root" (without quotes of course) as Username and leave Password empty. If this does not work, I would try something like "admin" and "admin" as UserID and Password (this is standard for many routers etc.). But anyway you should ask that asshole, what UserId is meant there. What kind of application is that? What is it good for?



Hi, I've tried root while leaving password empty. It does not work. I also tried admin / admin. It doesn't work too.

That asshole is on Fiver, he "delivered" me the project at the first day of the long Easter public holiday, and Fiver has only three days to revise as complete and I was busy and missed. He changed "his face" totally after he thinks he will get the money. I am a victim of internet buying.
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Re: New to Xampp. Looking for help.

Postby Altrea » 31. March 2016 21:27

kenny1999 wrote:Hi . If I don't update my XAMPP control panel when there is new update ( the current version I have installed is XAMPP Control Panel v3.2.2 Complied : Nov 12th 2015 )
Will I be able to keep the old mysql_functions?? Or will I be able to keep my website working??

The control panel is only one of the component of the XAMPP installation to start stop the components all at the same place.
This component has nothing to do with the mysql_ functions, it's PHP which provides this functions.
But if you don't update XAMPP, nothing will change. You should never update anything without any need.
And XAMPP don't provide any update functionality, so if you want to change to a different XAMPP version it is always a fresh installation and you will need to add your project data etc again.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: New to Xampp. Looking for help.

Postby kenny1999 » 31. March 2016 22:31

Altrea wrote:
kenny1999 wrote:Hi . If I don't update my XAMPP control panel when there is new update ( the current version I have installed is XAMPP Control Panel v3.2.2 Complied : Nov 12th 2015 )
Will I be able to keep the old mysql_functions?? Or will I be able to keep my website working??

The control panel is only one of the component of the XAMPP installation to start stop the components all at the same place.
This component has nothing to do with the mysql_ functions, it's PHP which provides this functions.
But if you don't update XAMPP, nothing will change. You should never update anything without any need.
And XAMPP don't provide any update functionality, so if you want to change to a different XAMPP version it is always a fresh installation and you will need to add your project data etc again.



Sorry do you mean that after some length of time ,weeks or months. Then the old mysql function will not work properly? the web hosting will upgrade/update their software/hardware and my website will no longer work properly?
kenny1999
 
Posts: 11
Joined: 30. March 2016 02:25
Operating System: Windows 7

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: jeanneotts and 131 guests