Jump to content

YoLoL

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by YoLoL

  1. YoLoL

    Rsync

    Is rsync installed on TCH servers? Can it be used by shared server members?
  2. Is there a way to define a foreign key using myPHPAdmin GUI?
  3. I forgot to mention that the line memory limit is already on the htaccess. I did after I posted. Right now is like this: php_value memory_limit 40M
  4. Ok, I did some quick tests. You are right about this it was only 2.5 Mb, that was one of my last additions yesterday , anyway, I've modified that parameter to 20 Mb but I'm still hitting the 8 Mb limit imposed by the ini file . I think I didn't mentioned this before, but I have already tried the phpinfo() page to gather info, that's how I learned the 8Mb defined on php.ini file. Anyway, perhaps I will have to implement the upload mechanism via CGI ... any other idea before dropping PHP on this part?
  5. Yes, you are looking at the right site. The htaccess file is located on the root directory for that subdomain, I have already tried the phpinfo() page to gather info. The limit on the HTML code is not being enforced on the upload page. I haven't got the chance to work on this today. But I hope I'm able to do some more tests later today...
  6. I have been modifying the htaccess file: php_value upload_max_filesize 20M php_value post_max_size 20M php_value memory_limit 40M php_value max_input_time 2400 php_value max_execution_time 2400 Still no success. Any other suggestion?
  7. According to this: "All the configuration settings for your PHP installation are contained in the php.ini file. Sometimes these setting might be overridden by directives in apache .htaccess files or even with in the scripts themselves. However you cannot override the settings that affect file uploads with .htaccess directives or inside scripts in this way." So it looks I'm stuck with the max post size, which is 8Mb. I'm thinking this setting only applies for PHP, what about Perl? Has someone tried to upload files bigger than 8 megs using a CGI on TCH?
  8. Hi I'm trying to upload large files, around 20 Mb, but so far I have only been able to upload files up to 8 Mb, I made the following modifications in the .htaccess file: php_value upload_max_filesize 20M php_value post_max_size 20M php_value max_execution_time 200 php_value max_input_time 200 I'm getting a 413 error message with the following text: Request Entity Too Large The requested resource /upload.php does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit. What can I do? FTP files is not an option, any suggestions?
  9. Thanks, I just did. Just to leave it documented, it may be useful to someone else, max_allowed_packet is 1Mb and it can't be increased on a shared server.
  10. so... what's the max_allowed_packet size for mysql?
  11. All servers? Mine is server70. Thx
  12. I'm not sure if this has been mentioned in another forum/thread but I haven't been able to find it. Since version 5.0.1. MySQL supports views among other things (as for this writting we have 5.0.45-community), the statement can be as simple as: >CREATE VIEW myTCHuser_myDB.viewname AS SELECT * FROM myTable; The CREATE VIEW statement creates a new view, or replaces an existing one if the OR REPLACE clause is given; if you want the full syntax you can check here: http://dev.mysql.com/doc/refman/5.0/en/create-view.html Also since version 2.11.0 (August 22, 2007) phpMyAdmin supports creating VIEWS from query results (you can find more on the project page: http://www.phpmyadmin.net/home_page/index.php) so far I have only been able to create it via the SQL script tab. If someone nows how to use the GUI for creating one please post it here Hope you find this short post useful.
  13. Has this change? I'm trying to send an email from a perl script using the following code: ... $sendmail = "/usr/sbin/sendmail -t"; $reply_to = "Reply-to: webmaster\@yolol.net\n"; $subject = "Subject: Refurbish Report\n"; $to = " $current_user\n"; #Value adquired earlier in code open(SENDMAIL, "|$sendmail") or die "Cannot open $sendmail: $!"; print SENDMAIL $reply_to; print SENDMAIL $subject; print SENDMAIL $to; print SENDMAIL "Content-type: text/html\n\n"; print SENDMAIL $body; #Value adquired earlier in code print SENDMAIL "\n\n"; close(SENDMAIL); print "Mail sent"; ... I receive no errors but no message either any suggestions?
  14. Ok, I nailed this one. Here's what I did I kept all the setting as above except for the following: Set mail to PHP default Queue Email for later sending Scan Event Queue on Session Garbage Collection The following URL was also helpful http://docs.dotproject.net/tiki-index.php?...tem+Config+v2.x Thanks for your help guys. Now the next one; set the cron job to execute the queuescanner.php automatically
  15. Good, I'm checking the log I have two different kind of errors: Authentication failed on server: 503 AUTH command used when not advertised\r\n Error on connecting to host mail.yolol.net at port 25: Connection refused (111) The first one appears when the option "Host requires login" is checked, the second one when is not. I have already double check password and is correctly written (What I did is to copy/paste into the login for webmail in CPanel) Any ideas?
  16. yolol.net but I'm setting this up for the subdomain darkcastle.yolol.net, thanks
  17. I have tried with the following Email Settings Email Transport SMTP SMTP Host mail.my_domain_name SMTP Port 25 Host requires login checked SMTP Username mail_user@my_domain_name SMTP Password password for mail_user Queue Email for later sending checked SMTP Server Timeout 30 Also I have change the setting Email transport to "PHP default" and the setting SMTP user name with "mail_user+my_domain_name" So far no luck, I have checked the spam filters on the target email addresses and no mail Can somebody give a hand, I haven't found anything on TCH forums or dotProject's
×
×
  • Create New...