Author Topic: Solve my simple problem for 10$ thoguht paypal  (Read 10133 times)

0 Members and 1 Guest are viewing this topic.

TheRedEye

  • Guest
Solve my simple problem for 10$ thoguht paypal
« on: October 24, 2007, 12:44:31 PM »
I am having some problems with some mod I have added.
I'm using this mod so I could upload non-english files.
http://www.4homepages.de/forum/index.php?topic=17885
and it do works, I can put under "name" & "comment" non-english text. and the upload and all work perfect.

But here my problems comes:
I put this mod, that take the filename and put it as the image name - so you will not had to insert a image name.
http://www.4homepages.de/forum/index.php?topic=5750.0
And then when I'm uploading files in English names - it do works and the image name become the file name.
But when I'm uploading non-english files, I get this message:

Code: [Select]
Error uploading image file:
.jpg: Invalid file type (, image/jpeg)

I think it caused by this line on the "Filename = Image name" mod:

Code: [Select]
if (!$image_name)
{
  $image_name = $HTTP_POST_VARS['image_name'] = get_file_name($new_name);
}

Because in the error message it says
Code: [Select]
.jpg: Invalid file typeSo he cant read my language letters, but in the first mod it do works if I insert the name.

Anyway to fix it? For 10$ :)
MSN: TheRedEyes@gmail.com
ICQ: 1326582

Thanks Regrets
TheRedEye
« Last Edit: October 24, 2007, 01:00:56 PM by TheRedEye »

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #1 on: October 24, 2007, 01:19:19 PM »
Quote
Anyway to fix it? For 10$

10$ what ? 10$ US, Euro ? What is currency ?
10$ is minimum fee for paypal. Programmer end with bit + $5.00 after transac. 10$ is final price ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

TheRedEye

  • Guest
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #2 on: October 24, 2007, 02:05:55 PM »
Can u do it? or u just asking?
Hmm, I can deal with you on MSN how much exactly u want on it..

TheRedEye

  • Guest
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #3 on: October 24, 2007, 08:36:56 PM »
can u do it or not?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #4 on: October 24, 2007, 08:38:00 PM »
Please wait for reply :!:

Install this fix from V@no ?

http://www.4homepages.de/forum/index.php?topic=5750.msg58841#msg58841
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

TheRedEye

  • Guest
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #5 on: October 24, 2007, 08:51:52 PM »
hmm
yes i did..
not helping anyway..
I this could solve the problem
http://www.4homepages.de/forum/index.php?topic=17885.0
cause it works if i put the name on my language. but not when I m reading the name from the file

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #6 on: October 25, 2007, 02:33:55 AM »
Then, you no need custom work. You need support from admins for this.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

TheRedEye

  • Guest
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #7 on: October 25, 2007, 09:36:15 AM »
what do u mean?
I was thinking if I could take the string of the filename out of this
 C:\Documents and Settings\Home\Desktop\שרת\index.files\aaaa.jpg
str.lastIndexOf("/")
and -4 from the end of the string
then when the button is pressed I will put it in the name image_name and send the File..
I'm not so good with JS can you help me how to write it?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #8 on: October 25, 2007, 12:31:27 PM »
Quote
str.lastIndexOf("/")

You use tomcat with 4images ? Sorry ... I no good for JS / Java (right now) ...
If problem with patch, please report to patch topic. I no get why Nicky redirect topic here.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #9 on: October 25, 2007, 12:51:53 PM »
[start offtopic]
i didn't redirected, he opened new thread
last thread i deleted.
[end offtopic]
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

TheRedEye

  • Guest
Re: Solve my simple problem for 10$ thoguht paypal
« Reply #10 on: October 25, 2007, 08:15:48 PM »
Hmm someone can help me?