Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Gwydion

Pages: 1 [2] 3 4 5 6 7
16
Discussion & Troubleshooting / Re: Upgrade and hacked questions
« on: December 04, 2007, 11:18:05 PM »
Ok, found the code in the constants.php and changed to 0 - thank you.

Quote
Is possible for say problem is do if upgrade ? (Error message)

Sorry, I don't get this .. if you ask which error message(s) I got .. I don't have them anymore.

I have realised that I get an error message when I try to download the database backup but that is just a minor problem right now.
I noticed that after the upgrade the hackers script still was active somewhere (and about two weeks later it changed files like the index.php in the main folder) so simply uploading the upgrade files did not help.
That's why I am asking about deleting everything except the media folders and database.



17
Discussion & Troubleshooting / Re: Upgrade and hacked questions
« on: December 03, 2007, 06:20:36 PM »
Thanks.
In my constants.php file there is no such code or line as PHP_EXEC_CODE.

I tried to upgrade to 1.7.4 but had troubles so I think removing all and each file and upload the new version would be the best solution but this will only work (or rather I will only do that now) if categories and images are not affected.

ETA: The hacker changed the index.php file to its own. My ISP php version is 4.4.7 if this is of importance.


18
Discussion & Troubleshooting / Upgrade and hacked questions
« on: December 03, 2007, 02:54:25 PM »
I have questions about upgrading and hacker protection/repair.

I am quite sure my gallery has been hacked because it is calling a spammer's site and tries to open popups

I thought of upgrading to a new version but I want to do a complete sweep while keeping the categories/images/thumbs as they are.
Is this possible and how do I do it best (remove all files and upload new version files/folders manually?)
Is there a chance to get rid of the hacker's script by doing so?
I have read that the template folders should be cmod to 644, is that correct?


19
I think there was a misunderstanding .. I didn't want to remove the link to the controlpanel for a logged in user .. I wanted to remove the whole user box.
Anyway, found it .. or a way. Maybe it is not the best but it works.
In categories.html of the template I removed the code for user box and lang_registered_user (was called something like that) and now it works.


20
Sorry, but it's not.
I disabled user_logininfo.html and user_loginform.html in mytemplate as well as in default. Login fields still appear.
I also tried removing the code in user_logininfo.html and uploaded the modified file in both folders (mytempalte and default).
No change.

I thought the left side menu is defined in the details.html but I guess I am wrong here.



21
Installation, Update & Configuration / Re: 4images 1.7.4 - Feedback
« on: November 12, 2007, 10:41:55 PM »
Die einzelnen Files im 1.7.4 zip sind zum Teil mit Datum 200609 oder 200610 etc. , ist das korrekt?

Und ja, es sind wohl noch Dateien von 1.7.3  auf dem Server, aber alle, die im 1.7.4 zip enthalten sind, wurden auf den Server übertragen und sind daher von vs. 1.7.4
Für Hilfe und Vorschläge bin ich dankbar, aber ich bitte um Verständnis, daß ich nicht jeden auf den Server zugreifen lasse. Nichts für ungut.


22
Installation, Update & Configuration / Re: 4images 1.7.4 - Feedback
« on: November 12, 2007, 10:12:44 PM »
Danke, aber ich bin sehr sicher, daß das nichts mit FTP zu tun hat. Da wurde nichts resumed.
Außerdem .. warum klappt es denn mit der global.php von 1.7.3 aber nicht mit der von 1.7.4? Da muß doch irgendwo ein Haken sein .. ich werde es morgen noch mal neu versuchen ..

23
Thank you .. managed to remove the random image. Still want to remove the user cp/links/login fields on the left.

24
Installation, Update & Configuration / Re: 4images 1.7.4 - Feedback
« on: November 12, 2007, 09:33:08 PM »
Das habe ich .. jetzt gerade nochmal.
Alle Dateien überspielt, alte config.php  wieder zurück, install.php gelöscht, alles nach Anleitung.
Immer der gleiche Fehler.
Unverändert blieb mein Template und es sind von den Mods div. zusätzliche Datien da. Was im neuen zip aber an Files drin war, ist überspielt und hat die vorhandenen überschrieben, daher können die Mods eigentlich keine Auswirkung haben. Und die Fehlermeldung ist mehr als kryptisch.
Ich habe jetzt die global.php von der 1.7.3 hochgeladen, damit ich die Gallery überhaupt benützen kann, damit geht es auch. Der Sinn des Upgrades ist damit zwar wohl hinüber, aber mir fällt momentan sonst nichts ein.

25
Installation, Update & Configuration / Re: 4images 1.7.4 - Feedback
« on: November 12, 2007, 08:39:59 PM »
Danke.
Nun steh ich an .. derselbe Fehler.

Code: [Select]
326 if (empty($url)) {
327   $url = get_basefile(getenv("HTTP_REFERER"));
328 }
329 else {
330   if ($url == getenv("HTTP_REFERER")) {
331     $url = "index.php";
332  }

Der Fehler ist angeblich in 327 ..
Woran könnte es noch liegen?

26
Installation, Update & Configuration / Re: 4images 1.7.4 - Feedback
« on: November 12, 2007, 08:04:04 PM »
Vielleicht hat ja wer eine funktionierende global.php (falls es wirklich an dem File liegt) und könnte sie mir schicken.

27
I want to remove the login fields as well as related links (registration, forgot pw) in the details.html (when you go into a category or click on an image). Same goes for the links you see when you are logged in. I do not have a need for registration so these parts should not be displayed either.
I have tried to find that in the details.html file in my template (chique_black) but there does not seem to be something I can recognise.
Therefore I would need to know what code I should remove exactly and in which file.
Hope that explains it better.

28
I have upgraded to 1.7.4 and now I can't get rid of random image in details.html as it seems.
I changed the home.html in my template and that worked.
Did the same modification in details.html but the random image still shows up.
I renamed the random-image*.html files in templates/default and I even uploaded the modified details.html to the default folder as well.
Where does the script get the order to still show a random image from?
What am I doing wrong and/or where can I get rid of it?

And yes, I used the search but noone seemed to have this problem and the only other post with the same question is unanswered since 2005.

ETA: Found it in categories.html but now there are the links if a user is logged in (control panel, lightbox) etc. which I do not need nor want. What do I have to remove so controlpanel and logout is no longer shown? Or if logged out the login fields are not shown? Which files do I have to change?

29
Installation, Update & Configuration / Fatal Error nach Update auf 1.7.2
« on: November 12, 2007, 05:13:38 PM »
Argh ..
Code: [Select]
Fatal error: Call to undefined function: get_basefile() in /home/****/public_html/gallery/global.php on line 327
Was nun? Hab die update Anleitungen genau befolgt, update ist von 1.7.2 daher kein update script.
Config.php mit meiner alten ersetzt.
Ist das global.php im Pack fehlerhaft?
Hilfe!

Und seh ich das richtig, daß permissions f. subcategories oder search new images in all categories schon wieder nicht drin ist und ich die Mods neu machen muß? Oder edit-move etc. in edit images? Wieso denn bloß nicht .. langsam geht mir das echt auf die Nerven. :/

30
Discussion & Troubleshooting / Database screwed up - is there hope?
« on: June 30, 2007, 07:24:30 PM »
My glorious webspace provider had technical problems and as result my gallery database has been screwed up completely.
We were able to restore the db with the backup one but there are lots of errors.
The problem I am confronted with is that about 50 % of the thumbnails are missing.
Of course I tried to use the auto-thumbnailer first but it could only handle very few files and mostly came up with an error like this:

Quote
Create thumbnail for: filename (filename.jpg) ....   

Warning: imagejpeg() [function.imagejpeg]: Unable to open './../data/thumbnails/9/filename.jpg' for writing in /home/username/public_html/gallery/includes/image_utils.php on line 88
Error creating thumbnail!


I then thought that it might need to check for new images first but this comes up with the following error:

Quote
Warning: opendir(./../data/media/13) [function.opendir]: failed to open dir: No such file or directory in /home/username/public_html/gallery/admin/checkimages.php on line 800


The categories in question are all in the category list (cpanel) and I can see on FTP that the files are in the image folders (but like in this example category 9 was missing in the thumbnails).
I thought of making this directory directly via FTP but the script still comes up with errors.

I am not sure whether it is a problem with the files themselves or a script and/or database issue.

I don't know how to fix it. The worst case scenario would be to re-install the gallery inclusive all db entries (which would be some hell of work; I don't even want to think about it).
What shall/can I do?
 

Pages: 1 [2] 3 4 5 6 7