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 - bine

Pages: [1]
1
OK, another problem is solved. The reason why no client Dates appeard in the database was, that the server was modified with register_globals off

Since php 4.2 off  is the global setting.

When you have the same problem add this  little script in your global.php
Code: [Select]
// -------------- edit solve problem with register globals off ------ //
if (isset($HTTP_GET_VARS))
extract($HTTP_GET_VARS);
if (isset($HTTP_POST_VARS))
extract($HTTP_POST_VARS);
// --------------- end edit -------------- //

-------------------------

So I have only one more problem with this funny ;) installation

The gallery doesen't sent any emails. no email confirmation of order and no email from the admin-cp. But no error message appears.
I looked at the code 1000 times, and I must see that the same files used on another server works fine. So I think in this installation it must be the server configuration that don't allow the gallery to sent emails. I will ask the server Admin about the rights that must be given to sent emails. Myself I have no own server, and I don't know what he must change.

Does anyone here know about the rights for sending emails in the server Administration? What must he do? What should I tell him to do?


PS: SantaZ
Quote
hallo,

auf den alten Seiten gab es noch ein SQLquery womit man in einem rutsch die kompletten Preise editieren kann.

Kann mir mal bitte jemand sagen wie dieser Query aussehen muss?

I bump this posting from SantaZ up because I also need a function to set for more than 1000 images the same price in one step. How is this possible?

2
Discussion & Troubleshooting / Re: admin email 'security violation'
« on: July 03, 2005, 03:42:53 PM »
oh god, I love mistakes like this  :roll:

Problem solved. There are two email.php one in includes and another in admin folder.
And what must I see? in admin folder exist the same file like in includes.

I uploaded original email.php in admin folder and now I see the email-form in admin-cp.

sorry for wasting your time  :oops:

3
Discussion & Troubleshooting / Re: admin email 'security violation'
« on: July 03, 2005, 02:55:15 PM »
Hi,
during installation the shop mod beta in 4images v1.7.1 I made some changes like its written in the mod-installation.txt
At first I uploaded this new file  /4images/admin/plugins/kundendaten.php

and in admin/settings.php I added the function warenkorb_select  after the function function show_language_dir_select like this:
Code: [Select]
function warenkorb_select($setting_name, $setting_value) {
 global $warenkorb_optionlist;
 echo "<select name=\"setting_item[".$setting_name."]\">";
 foreach ($warenkorb_optionlist as $key => $val) {
   echo "<option value=\"$key\"";
   if ($setting_value == $key) {
     echo " selected=\"selected\"";
   }
   echo ">".$val."</option>";
 }
 echo "</select>";
}

and added in  admin/settings.php a new setting_group at the end of the file like this:
Code: [Select]
show_table_separator($setting_group[8], 2, "#setting_group_8");
 show_setting_row("porto");
 show_setting_row("bearbeitung");


  show_form_footer($lang['save_changes'], "", 2);
}

show_admin_footer();
?>

I changed nothing else in the admin-folder, and when I re-upload the original admin/settings.php the error appears also.

4
Hi,

I guess there was a thread in this board with a mod
that admin get an email notification when a user has downloaded an image.

The thread seems to be away since the DB crash :(

Could someone please reload this usual modification!?

5
Discussion & Troubleshooting / admin email 'security violation'
« on: July 02, 2005, 01:34:08 PM »
Hi,

I didn't found anything with the serach function about my problem.

When I click in admin-cp user email, I get the error 'Security violation'

Wht must I do to solve this?

6
Hi, the second point is solved. Kundendaten List in admin cp appears since I wrote in admin/plugins/kundendaten.php
Code: [Select]
$_SERVER['PHP_SELF']instead only php_self

All of the shop now runs fine. But the most urgent function not :(

I get no entrys in the Database-client-fields and no email for seller and client.
no error message appears.

Please can anyone help me. Where must I look for  :?:

german -----------------------

Hi, Der zweite Punkt meines vorherigen Postings ist gelöst. Die Kundendaten-Liste im admin-cp wird angezeigt seitdem ich
Code: [Select]
$_SERVER['PHP_SELF'] anstatt nur php_self in admin/plugins/kundendaten.php geschrieben habe.

Aber mein Hauptproblem besteht immer noch. Ich weiß nicht wo ich noch suchen soll. Trotz fehlerlosem Bestellablauf werden keine Kundendaten in die Datenbankfelder geschrieben und es wird auch keine Bestellungs email und Auftragsbestätigung herausgeschickt.

Bitte kann mir wenigstens Jemand helfen an welcher Stelle ich ungefähr suchen muß  :?:  Ich habe die Dateien alle mit meinem laufenden Testshop verglichen und sehe keinen Unterschied.





7
Hi,

I'm a little bit lost with this mod.
in Oct. 2004 I installed this successfully for art-stylers.de

Now I want to install this with 4images 1.71

I found in the meanwhile an acceptable solution for the shopping of non registered users. I integrated the registration during the order procedure.

My problems are:

1. The order procedure runs fine, but no entrys of client Dates arrive the Database. no error-message appears. I controled the table and the fields, its all available.

2. in admin-cp appears no client-list. I get this error message:
Quote
Warning: main(./../admin/admin_global.php): failed to open stream: No such
file or directory in
/Library/Apache2/htdocs/_mysite/4images/admin/plugins/kundendaten.php
on line 30

Fatal error: main(): Failed opening required './../admin/admin_global.php'
(include_path='.:/Library/PHP4/lib/php') in
/Library/Apache2/htdocs/_mysite/4images/admin/plugins/kundendaten.php
on line 30

line 30 in kundendaten.php looks like this:
Code: [Select]
require(ROOT_PATH.'admin/admin_global.php');

and admin/admin_global.php is on his place in 4images/admin/admin_global.php

Is this a file properties Problem? or a Path Problem? I don't know where I must search for.
Or do I have general Problems with this mod in Version 1.71 ?

I hope anyone can help me out with this?

8
Hi,

I've read that only registered Users can use the shop.
I tried to make some changes to realize that also unregistered clients can buy a picture.

I deleted in functions.php this part
Code: [Select]
$user_info['user_level'] != GUEST &&
in page_header.php I changed
Code: [Select]
if ($user_info['user_level'] >= USER) {to
Code: [Select]
if ($user_info['user_level'] >= GUEST) {
and commented out ind warenkorb.php this code
Code: [Select]
/*
if ($user_info['user_level'] == GUEST || $user_info['user_level'] == USER_AWAITING) {
  show_error_page($lang['warenkorb_register']);
}
*/

In this case a guest has the right to add something in the basket, but all other guests have also this article in their basket.

I think the Informations they give during the order precedure  is  all what the seller must know. But I don't know how to identify the single client during the order.

Is it possible and what must I do to change the mod, that unregistered clients can buy something?

9

All code changes are well done and in general-settings 'edit and delete of comments' is allowed.

But this is my reason of this modification:
1. user edit own comment under his own image: OK
1a. user delete own comment under his own image:  OK

2. when a user try to edit or delete a comment under an image of another user:
when clicking the edit or delete link, the site refreshes to the index-page :(

3. I don't like the function that I can edit or delete comments from other users under my own images.

I like that users can edit or delete their comments under every image, but not comments from other users under their own image and I thought this is possible with this mod? Am I wrong?

10
V@no
Quote
well, use that code, and do the changes I posted in this thread.

Hi, is the code behind the broken Link 'that code' still available in the forum? I didn't found something by searching.
I also like to create random images from one specified categorie.

11
Chit Chat / Re: Hack !!!!!!! Bastards
« on: March 10, 2005, 05:43:01 PM »
Hi,
welcome back! I always feared that something like this will happen. I'm pleased now to see the support forum online aganin and I'm happy, that my gallery is already running like it is.

Anyway, this can be also a chance for new members, that they don't have to read 20 Pages to find out that only the published Mod can solve their Problems ;)
Clear that this is only the half truth, because there had been much precious postings in the Threads. It's a great pity.

OK, let's have a nice Start and a Future with a Database-Backup on an extern data medium ;)

I saved the image from the hacker who was seen during the hacked time sometimes on the main-page of the forum. And I think about the timetable which was seen on the wall in the background. The most of the hackers like to make a little sign to themself. With a good Software the police could find a clue to the person. OK its like searching a pin in a haycock, but trying is better than nothing.

Killing them is not the right way, their pain will be to short ;)

by the way: I love 4bulletin boards. for more safety.

12
Danke, da hast du mir schon viel weitergeholfen  :)
Werd gleich mal schauen, ob beim Provider schon was integriert ist.

13
Danke für die schnelle Antwort. Das hatte ich auch schon gemacht. Aber erstmal muß es ja überhaupt eine Verbindung geben zwischen der Galerie, die auf einem angemieteten PHP-Webspace liegt und ImageMagick. Und was ich alles gelesen habe, hat mich nur noch mehr verwirrt.

Ich denke, damit es klappt muß ich bestimmte php-Dateien von 4images entsprechend editieren und auch von ImageMagick Dateien auf den Webspace raufladen oder seh ich das falsch?

In den Einstellungen des Contol Panels steht ja auch:
<Falls Sie das Modul "ImageMagick" oder "NetPBM" gewählt haben, geben Sie hier den Pfad zum Konvertierungs-Programm an>

Bisher hab ich IM ja nur auf meinem PC installiert und sonst nix.

14
Hallo Zusammen,

so, jetzt kommt die absolute Anfängerfrage:

Hab die Galerie ohne Probleme installiert und online.
Weil ich gern die Thumbnail-Funktion verwenden möchte, hab ich ImageMagick auf meinem PC installiert.

Da ich keine Ahnung von PHP habe und ebenfalls ziemlich schlecht englisch kann, hab ich nun überhaupt keine Ahnung wie ich die Thumbnail-Funktion mit der Galerie-Software in Verbindung bringen soll.
Ist das zu kompliziert für einen Anfänger oder kann mir da Jemand auf die Sprünge helfen?

Also was muß ich machen :?:

Pages: [1]