PDA

View Full Version : Attachment Limit -Urgent


viper007
05-17-2008, 06:23 AM
Hello Sir

When i am Uploading attachment ..

I am getting Error In connection to database...

The maximum limit of file i want increase the size can u help me out plz

Dismounted
05-17-2008, 06:56 AM
You need to tell us the error.

viper007
05-17-2008, 01:17 PM
I says when I am Uploading
Database error
I want increase the Max upload Size ...?


And all files are storing in database ..when i want to change the storage path
By default it is showing some thing ...but in ftp i could not trace out

/path/to/your/attachment/directory

Any more suggestions ...

--------------- Added 1211034280 at 1211034280 ---------------

We attempted to write a test file to /public_html/attach, but we were unsuccessful. Please verify that the web server has write/delete permissions for this path.

I am getting that Error when i am trying to change storage type...

Lynne
05-17-2008, 01:43 PM
In the Attachments part of your admin panel, you need to enter the full path to the attachments folder. What you have written there is not the full path. It should be something like /home/yoursite/attach and then you need to check the permissions on that directory and make sure they are set to 777.

viper007
05-17-2008, 03:24 PM
How to know the path

and can i create new directory for it or any kind of default will be there?

AND

How to increase upload size ?

Lynne
05-17-2008, 03:27 PM
You need to create the directory yourself.

Upload size is defined in your Attachment Options for each type of file (jpeg, gif, etc).

viper007
05-17-2008, 03:30 PM
I have created new folder and tried but the same error

Lynne
05-17-2008, 03:49 PM
You created a new folder and put the *full* path to that folder in the spot for it and you made sure the folder had the correct permissions of 777? What path did you put?

viper007
05-18-2008, 12:29 AM
i used

public_html/attachment

or how to find out excact path

help me

veenuisthebest
05-18-2008, 12:51 AM
it cannot be public_html/attachment

1. First locate through FTP, where actually your attachment folder resides ?? DOES IT EVEN EXIST ??

2. Is your forum installed at the root or within a directory like /forum. If yes, then give the path something as /your_path/public_html/forum/attachment

viper007
05-18-2008, 01:51 AM
attachment folder is not there

I have created

and still i am getting error ...i tried it correctly but still same

veenuisthebest
05-18-2008, 02:43 AM
pleasee try to type in detail my dear friend !!

1. Where did you create your attachment folder (tell the exact path)
2. The error clearly means that the path you are providing is not valid OR you have not provided valid read/write/exec permissions for that folder. You can do so through your Domain CP

toadtje
08-08-2008, 09:52 PM
I am having the same issues he has though.

And as a change, I know what I have to do, really... but I dont know how to get it done.

Is there a way to tell vBulletin to change the MySQL and PHP settings without having shell access to manually do it? I know for a fact that the strings that needs to be replaced are located in the ini files for both MySQL and PHP, but there has to be a way for vBulletin to override them.

My host doesnt use shell access to their web servers, and with only ftp access, I would have to call them up to get it done. Its not something I would like to do unless I REALLY have to.

So, can this be done in config.php or anywhere else, that will tell PHP that the limits have changed? And yes, I have moved attachments to filesystem :)

Any help will be very useful to me

Thanks in advance

Kind regards
Tommy Fjellengen

Marco van Herwaarden
08-09-2008, 11:18 AM
See your own other thread: How to get to my php.ini file? (https://vborg.vbsupport.ru/showthread.php?t=187177)