I deleted my database and now can't install HESK

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
uglyeoin
Posts: 4
Joined: Tue Feb 01, 2011 5:42 pm

I deleted my database and now can't install HESK

Post by uglyeoin »

Script URL: local
Version of script: 2.2
Hosting company: local
URL of phpinfo.php: local
URL of session_test.php: local
What terms did you try when SEARCHING for a solution:
where is the database information stored, I also searched the install files and the configuration file, the admin index file, and the /inc/ files.

Write your message below:

I installed HESK. It's brilliant. I then deleted the database as I wanted to test something out. I wanted to install it to a database that already exists - my website's current database. I assume this wouldn't be a problem. I am testing locally at the moment.

When I try to install it offers me the option of a new install. However, it then goes straight to the final install stage, without letting me put the database in it. Naturally it then can't find (the non-existent) database.

I understand in hindsight I should have edited my details in the admin section, but I did not. Can anyone shed any light on why this may happen and how to resolve? Does this mean you can only ever have one install of HESK on a server with multiple domains??

Much appreciated.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: I deleted my database and now can't install HESK

Post by Klemen »

Try closing all browser windows to reset the session, then try again.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
uglyeoin
Posts: 4
Joined: Tue Feb 01, 2011 5:42 pm

Re: I deleted my database and now can't install HESK

Post by uglyeoin »

I did, I even rebooted the PC and it still does it. It just skips all the steps straight to the end. Is there a way to "break" this process so that it goes to step 1 and I can force it to recognise the new db? or a way to edit the file where the db is stored?

Thanks for your reply.

Eoin
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: I deleted my database and now can't install HESK

Post by Klemen »

In this case PHP sessions on your new server probably aren't working correctly.

Upload these two files to your server:
http://www.phpjunkyard.com/extras/session_test.zip

Then open "session_test.php" and click the Continue link. If the page that opens says that the variable is set to "FALSE" then the sessions aren't working correctly ("TRUE" if they do).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
uglyeoin
Posts: 4
Joined: Tue Feb 01, 2011 5:42 pm

Re: I deleted my database and now can't install HESK

Post by uglyeoin »

Thank you for your help. I did this and it said that session was set to true.
Klemen
Site Admin
Posts: 10145
Joined: Fri Feb 11, 2005 4:04 pm

Re: I deleted my database and now can't install HESK

Post by Klemen »

Sorry for the late reply, I was out of the country.

Is this on a local PC? Have you tried clearing browser cache (temporary Internet files) or try with a different browser?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
uglyeoin
Posts: 4
Joined: Tue Feb 01, 2011 5:42 pm

Re: I deleted my database and now can't install HESK

Post by uglyeoin »

It is on a local browser yes. I will try your suggestion.
Post Reply