buy tb500

Archive for January, 2010

Active Server Pages, ASP 0131 Disallowed Parent Path

Thursday, January 14th, 2010

Internet Information Services 7.0

  1. Start Internet Services Manager.
  2. Click Default Web Site, and then click Properties.
  3. Double-click ASP in the Features pane.
  4. Expand Behavior.
  5. Click Enable Parent Paths.
  6. Click True for Enable Parent Paths.
  7. Click Apply.

Internet Information Services 6.0

  1. Open the Internet Services Manager in the Microsoft Management Console (MMC).
  2. Right-click on your Default Web Site and select Properties.
  3. Click the Home Directory tab.
  4. Click the Configuration button.
  5. Click the App Options tab.
  6. Click to select the Enable Parent Paths checkbox.
  7. Click the OK button until you return to the MMC.

coooooooooooool

Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at

Saturday, January 9th, 2010

if you got the above error, you need to add the following code

session_start()

in your index.php   in the beginging

for example

<?php

session_start()

…..

…..

….

?>

References

http://bytes.com/topic/php/answers/664779-warning-session_start-function-session-start-cannot-send-session-cache-limiter

Migration from Linux to Linux server.

Saturday, January 9th, 2010

1- ssh to the source linux server

2- cd /home

3- package the account using the following command:

/scripts/pkgacct domainname

4- transfer the account to the distenation server using the following command

scp -P Distenation port  pakagename  root@distenationIP:/root

for example : scp -P 55000 cpmove-alzweac.tar.gz root@124.217.241.131:/root

then will ask you yes or not then after that ask you about the distenation password

now SSH to the distenation server

cd /root

then you will find the pakage in the root , you will find cpmove-alzweac.tar.gz

then extract the pakage using the following command:

/scripts/restorepkg cpmove-alzweac.tar.gz

you can test the website if working or not using the following commad

124.217.242.210/~alzweac  if working then do the next step

5- That as all,, done the migration, now you need to go to the old server WHM and change the DNS pointing to the distenation server.

Thank you.

ME020417 – TRB: SMTP 530 error – denied access

Friday, January 8th, 2010

RESOLUTION

  • Navigate within the Administration console to the following location: Servers>localhost>connectors>SMTP, right click on “SMTP” and select  “Properties” in the menu.
  • Next navigate to the “Inbound” tab and click on “Access control”.
  • Ensure that the Access control option is set to “granted access” and that the IP address of the incoming connection is not present within the “Except those listed below” window.
  • references
  • http://www.mailenable.com/kb/Content/Article.asp?ID=me020417
  • install and register ASP component

    Thursday, January 7th, 2010

    Refer to this URL

    file:///C:/Program%20Files/Persits%20Software/AspJpeg/Documentation/manual_01.html

    cdonts.dll , cdosys.dll send email through asp code (form)

    Thursday, January 7th, 2010

    if customer want to send email using asp form, first of all we need to check in his code what type of component he using to send email ( CDONTS.dll , CDOSYS.dll) then after that go to c:/ windows / system32 and check is the component there, if there check the permission for the component make sure everyone permission, if not you need to bring component from other server and register the component in the Dos using the following command:..

    regsvr32  name.dll

    then we can test the email is working or not.

    register component .dll

    Thursday, January 7th, 2010

    if you want to register component .dll in   windows/system32

    after you add the component in windows/system32 then you need to register the component in Dos

    use the following comand

    regsvr32 name.dll

    and do not forget to change the permission for the component that you add in side system32 to everyone full permission

    Thank you

    CFmail cold fusion testing

    Thursday, January 7th, 2010

    this CFmail testing in cold fusion

    save the file like this   test_email.cfm   then to test u use

    www.alzwea.com/test_email.cfm?email=ayad@shinjiru.com  then you can see the email in your inbox

    <html>
    <head>
    <title>Sending a simple e-mail</title>
    </head>
    <body>
    <h1>Sample e-mail</h1>
    <cfmail
    from=”Sender@Company.com”
    to=”#URL.email#”
    subject=”Sample e-mail from ColdFusion MX”>

    This is a sample e-mail message to show basic e-mail capability.

    </cfmail>
    The e-mail was sent.

    </body>
    </html>

    1030 Got error 28 from storage engine

    Tuesday, January 5th, 2010

    if you got the above error,

    you need to check the disk space for example  tmp/

    use the following command to check the disk space

    df-lah

    Thank you.