4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: bernjul on November 24, 2007, 11:40:28 PM

Title: Installation message: 'An unexpected error occured. Please try again later.'
Post by: bernjul on November 24, 2007, 11:40:28 PM
I tried to install 4images and I simply get this error message above. I installed XAMPP win32-1.6.4 containing:
# Apache HTTPD 2.2.6 + Openssl 0.9.8e
# MySQL 5.0.45
# PHP 5.2.4
# PHP 4.4.7
# phpMyAdmin 2.11.1

I switched to PHP 4.4.7

safe_mode = Off in php4.ini is correct

I copied the 4images folder into htdocs of XAMPP and I get the installation site in firefox correctly under 127.0.0.1/4images/install.php

I filled out the form with the following parameter:

Database server hostname: 127.0.0.1    (I also tested 127.0.0.1/4images)
Database name: pictures_gallery        (I understand the system in this way, that this database will be created by the 4images installation, or must I creat it myself in phpMyadmin ??!!)
Database username: bernjul     (I created this user in PHPMyadmin with ALL PRIVILEGES)
Database password: I left it empty, I didn't choosed one, bernjul got no password
Prefix for tables in database: 4images_
Admin username: root
Admin password: and YES I typed in the password...

I'm searching for hours now - I only get the  message 'An unexpected error occured. Please try again later.'

What's wrong?













Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: Nicky on November 24, 2007, 11:46:16 PM
hello an welcome to forum

wrong server settings.

try with mysql host localhost

and you have to create DB with phpmyadmin
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: bernjul on November 25, 2007, 12:05:53 AM
Thanx for your quick answer.

I created an empty database "pictures_gallery" without any tables and checked if user 'bernjul' got the rights for this database.

And I used 'localhost' instead of 127.0.0.1 within the form.

Same result.
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: bernjul on November 25, 2007, 12:15:20 AM
now I first tried to import the tables of the database manually in PHPMYadmin by 4images\data\database\default\mysql_default.sql
all tables are created successfully
bernjul got all rights for this database

same result: 'An unexpected error occured. Please try again later.'
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: manurom on November 25, 2007, 02:25:46 AM
Hello;
I tried Xampp for a while and was a little bored (most of all with the paranoid Linux LAMPP version).
If you work on a Windows based computer, whynot use 4images Mobile Server (http://www.4homepages.de/forum/index.php?topic=18352.0)?
As Wampp is, it is an Apache, Php, MySQL environment, provided with an installed version of 4images 1.7.4. It also can be launched from an USB drive, and whynot a CD-ROM.
Please just try it and tell what is your own opinion about it.

Regards.
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: bernjul on November 25, 2007, 10:14:01 AM
@manurom

Thank you so much!!! I was nearly desparated and I still don't know why it doesn't worked with XAMPP. Maybe there is one parameter in one of hundrets of files which must be changed - I don't know and I don't care anymore.
 :D
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: manurom on November 26, 2007, 12:04:22 AM
You're welcome, bernjul.

I was fed up with existing tools as XAMPP, EasyPHP, and other, because I just needed a tool to test my own gallery, both on my computer and on a few another ones.

Some of my friends needed also such a tool. I did not want to give them anything that makes them loose their time configuring their tool, while their time was basically destined to develop an improve their own websites.

So I tried to produce a program wich could be usable, without having to make any configuration, and most of all, having 4images 1.7.4 embedded.

Please feel free to post your experience in the original thread (http://www.4homepages.de/forum/index.php?topic=18352.0). Don't hesitate to describe lacks and bugs. I really need any user's feedback to get it better, as soon as my health goes better.

Thanks and best regards.
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: KleenBrachi on December 08, 2007, 03:44:45 PM
Hy!

Wir haben dasselbe Problem, dass er anzeigt "an unexpected error occured. Please try again later."

Bisher sind wir soweit:

Datenbank Servertyp  mysql
Datenbank Host: localhost
Datenbank Name: http://rikkumon.ri.funpic.de
Datenbank Username: rikkumon
Datenbank Passwort: passwort haben wir auch drin zu stehen vom Mysql
Präfix für die Tabellen images_

Was ist falsch?
Kann uns wer helfen.  :?: :?: :?:
 
 
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: nobby on December 08, 2007, 03:53:41 PM
Hy!

Wir haben dasselbe Problem, dass er anzeigt "an unexpected error occured. Please try again later."

Bisher sind wir soweit:

Datenbank Servertyp  mysql
Datenbank Host: localhost
Datenbank Name: http://rikkumon.ri.funpic.de
Datenbank Username: rikkumon
Datenbank Passwort: passwort haben wir auch drin zu stehen vom Mysql
Präfix für die Tabellen images_

Was ist falsch?
Kann uns wer helfen.  :?: :?: :?:
 
 

Hallo

Die URL als Datenbank-Name... Das stimmt doch wohl nicht, oder  :?:
Normalerweise lautet doch der DB-Name so: usr_webx_x  (das x ist eine zahl)

nobby
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: KleenBrachi on December 08, 2007, 04:14:00 PM
Quote
Hallo

Die URL als Datenbank-Name... Das stimmt doch wohl nicht, oder  :?:
Normalerweise lautet doch der DB-Name so: usr_webx_x  (das x ist eine zahl)

nobby

Ja.. gut.. wir haben das jetzt geändert..
aber trotzdem tritt der Fehler immer wieder auf..
was könnte noch das Problem sein?!
Erklär's bitte für Dumme.   :roll:
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: nobby on December 08, 2007, 04:19:33 PM
Das Du Dumm glaube ich zwar nicht....  Das man was dazu lernen kann, immer....

Schaue doch hier mal rein. Ist sehr gut beschrieben  :arrow: http://www.4homepages.de/forum/index.php?topic=6203.msg27027#msg27027

nobby
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: Nicky on December 08, 2007, 04:22:13 PM
meines wissens muss man bei funpic den mysql server zuerst, über funpic useradmin oberfläche, aktivieren.
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: nobby on December 08, 2007, 04:35:15 PM
@Nicky hat recht.

Bei funpic.de muss der FTP und MYSQL-Zugang erst manuell aktiviert werden.
Sowas habe ich ja noch nie gehört  8O
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: KleenBrachi on December 08, 2007, 04:43:43 PM
Danke.. das hat uns schon ein wenig mehr geholfen..
Wenn wir jetzt bei dem 4images installer auf installieren klicken, kommt zumindest der fehler nicht.. aber wir werden auf eine 404 i-net seite weitergeleitet..
aber wir hätten noch eine Frage..
wir haben unsern webhost über funpic.. und wenn wir da unter phpMyAdmin wissen wir nicht, was wir da machen müssen.. weil eine Datenbank ist noch nicht erstellt.. weißt du darüber bescheid?  :roll:
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: KleenBrachi on December 08, 2007, 04:44:39 PM
Wir haben auch beides schon aktiviert.. soweit sind wir auch schon gekommen. :D
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: nobby on December 08, 2007, 04:50:49 PM
Ich war mal auf der Seite von funpic.de.
Im dortigen Forum ist die Vorgehensweise was das Einrichten der Datenbank und 4images betrifft, wunderbar beschrieben.
Schau Dir das mal in ruhe an.
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: KleenBrachi on December 08, 2007, 05:12:25 PM
Also wir versuchen das die ganze Zeit.. aber der leitet uns immer wieder zu http://404.funpic.de/404.html Seite weiter... :(
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: honda2000 on December 08, 2007, 06:04:43 PM
guck mal @kleenBrachi: http://forum.thomas-heydel.de/viewthread.php?tid=18

das hatten wir beide doch schon mal, oder???

ließ die Anleitung bei mir Schritt für Schritt, ist "pingelich genau" erklärt, was man wie bei Funpic machen muss
2 verschiedene Passwörter, e-mail ändern, phpMyAdmin u.s.w.


...und ein gutes, stbiles, kostenloses FTP-Programm findest du hier:  http://www.filezilla.de/download.htm
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: nobby on December 08, 2007, 07:48:05 PM
@honda

Deine Erklärung ist ja besser als die in funpic.de, meine Hochachtung  :) :wink: :thumbup:
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: honda2000 on December 08, 2007, 07:58:07 PM
jeder zweite hier ist bei: funpic, ohost,... kostenlosen Anbiertern
...und immer wieder das gleiche, oder doch das selbe???, erklären

da mach ichs einmal richtig :wink: :D

...und jeder der weis wo, kann darauf zurückgreifen,
gilt auch gleich für die Styles, oder farblichen Änderungen:  http://forum.thomas-heydel.de/viewthread.php?tid=21
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: nobby on December 08, 2007, 07:59:51 PM
jau, ich kannte funpic überhaupt nicht. scheint ja nicht schlecht zu sein, oder?
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: honda2000 on December 08, 2007, 08:25:36 PM
naja, kommt etwas darauf an: steht alles auf CHMOD777, musst alles zurücksetzen

safe_mode ist off

naja, man muss eben vorsichtig mit den Usern sein

ansonsten...
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: Fratyr on December 16, 2007, 12:34:38 PM
Im getting the same error.

I have the same php.ini on 2 servers, on the 1st one 4image installed ok, on the second i get this error.
Anyone can explain me possible solution in english?
config.new.php is set to 777, data and templates are 777... mysql info user and pass correct.

Anybody? please :)
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: honda2000 on December 16, 2007, 01:33:03 PM
url/install.php

and now: config.php in root of galerie iss new

config.php not!!! config.new.php

and than, delete install.php
Title: Re: Installation message: 'An unexpected error occured. Please try again later.'
Post by: thunderstrike on December 16, 2007, 02:17:10 PM
If have problem install 4images - use this:

http://www.4homepages.de/forum/index.php?topic=17091.msg105297#msg105297

for install 4images. Is very good video tutorial. ;)