attachment system Problem!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hector2000
    New Member
    • Aug 2007
    • 22
    • 3.6.x

    attachment system Problem!

    i changed my attachment system but i recieved error:
    Code:
    Your server has PHP's SAFE_MODE enabled. You can not move attachments to files while SAFE_MODE is enabled. Please contact your host and ask them to consider disabling it if you wish to use the file system for attachments.

    but my host said that for security problem they cant enabled it also they said there is patch that will solve this problem(they said you should give it)
    and they want to know they should always enabled safe_mode or just for this change?
    thx
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    There is no alternative that I am aware of. Safe mode needs to be disabled or you can't move attachments to the file system.

    Comment

    • hector2000
      New Member
      • Aug 2007
      • 22
      • 3.6.x

      #3
      no program (phpmyadmin-mysqldumper-mysql administrator) cant create backup from my database(all of them have problem with attachment table)
      really how i can get backup?(my attachment table is 90mb)
      what is method?
      i am really confused.

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        This is the recommended and most reliable backup method:

        Comment

        • hector2000
          New Member
          • Aug 2007
          • 22
          • 3.6.x

          #5
          My host server isnt linux and is windows.
          Really i cant backup?
          this is power of vbulletin?

          Comment

          • Jake Bunce
            Senior Member
            • Dec 2000
            • 46598
            • 3.6.x

            #6
            The Windows command is very similar:

            "C:\PATH\TO\MYSQL\BIN\mysqldump.exe" --opt -Q -u dbusername -p password databasename > "C:\PATH\TO\backupname.sql"

            Comment

            • hector2000
              New Member
              • Aug 2007
              • 22
              • 3.6.x

              #7
              vbulletin cant sole this problem?
              may this option work(attachment system change) without disableing php safe mode?

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #8
                That command will backup your database on a windows server.

                There is no way around the safe mode restriction. It will need to be disabled before you can move attachments to the file system.

                Comment

                Related Topics

                Collapse

                Working...