Opened 9 years ago

Closed 7 years ago

#3045 closed Question/How do I...? (fixed)

Analytics, PDF upload, Hi-Res photo links

Reported by: Arthur Phillips Owned by: Jamie McClelland
Priority: High Component: Tech
Keywords: Website Analytics, pdf upload Cc:
Sensitive: no

Description

Hi there,

My name is Arthur and I'm replacing Rajiv as the campaigns/assistant web editor here at Cultures of Resistance. I've got a few questions I hope you can help me with.

I am interested in being able to see the stats for visitation of our website: how many people visit, when, from where geographically, what pages they visit, for how long, etc. Can you enable this for our site and tell us how to access it? Also, how does it compare to the services of Google Analytics?

Another question I have is about uploading and linking to PDF files. I tried uploading a 248 KB pdf but was told I was over my limit of 2 MB. Any advice for successfully uploading a PDF file?

Finally, I already asked this question once, but I tried Image Cache for linking to hi-res photo pop-up pages, and couldn't figure out how to use it. Any other options?

Sorry for all the helpless questions; I really appreciate your help.

Change History (11)

comment:1 Changed 9 years ago by alfredo

Hi Arthur,

We'll get the stats page set up for you shortly. Difference between ourselves and Google (which is the difference between software packages we use very often) is that ur stats system is FOSS and highly detailed and very good -- has everything you want. Google is part of the effort by that company to control the Internet although it's very good. We all use Google for something of course (I know I do) but that's part of the problem. :-) Anyway, webstats is available to all members so I'll set it up for you.

What you say about the pdf file can only mean that your user has a limit on the size of the file it can upload. Admins should have no such limit. If you were logged on as an admin and had the admin upload setting set to unlimited, this problem should be showing. Was that what happened? Check that and let us know.

So you were linking to pages off the site? Image Cache has a number of dependencies that are required. Are those installed?

http://drupal.org/project/imagecache

Also, they are deprecating it if I'm not mistaken. Off-site linkage is not something I do so I'm not up to date on which modules do that. What I'd really suggest is that you search the Drupal site with the appropriate terms and see which messages, etc. say what. Drupal users are usually the best source of info on this stuff.

Still, with appropriate modules installed, imagecache should work. What exactly are you experiencing?

Alfredo

comment:2 Changed 9 years ago by alfredo

Your stats page was set up and should be fully functional in 24 hours (as stats group). Let us know.

The url would be

http://www.corinaction.org/stats (actually any of your many aliases to that site will work)

But I must get you your user/pass. Would email me at

alfredo@… so I have your email?

Alfredo

comment:3 in reply to:  1 Changed 9 years ago by Rajiv Sicora

Replying to https://id.mayfirst.org/alfredo:

Hi Arthur,

We'll get the stats page set up for you shortly. Difference between ourselves and Google (which is the difference between software packages we use very often) is that ur stats system is FOSS and highly detailed and very good -- has everything you want. Google is part of the effort by that company to control the Internet although it's very good. We all use Google for something of course (I know I do) but that's part of the problem. :-) Anyway, webstats is available to all members so I'll set it up for you.

What you say about the pdf file can only mean that your user has a limit on the size of the file it can upload. Admins should have no such limit. If you were logged on as an admin and had the admin upload setting set to unlimited, this problem should be showing. Was that what happened? Check that and let us know.

So you were linking to pages off the site? Image Cache has a number of dependencies that are required. Are those installed?

http://drupal.org/project/imagecache

Also, they are deprecating it if I'm not mistaken. Off-site linkage is not something I do so I'm not up to date on which modules do that. What I'd really suggest is that you search the Drupal site with the appropriate terms and see which messages, etc. say what. Drupal users are usually the best source of info on this stuff.

Still, with appropriate modules installed, imagecache should work. What exactly are you experiencing?

Alfredo

Hi there,

To follow up about a size limit on file uploads: I went to change the settings to increase the file upload limit, signed in as an admin, and when I clicked "save these settings" I got the following response:

"Your PHP settings limit the maximum file size per upload to 2 MB. Depending on your sever environment, these settings may be changed in the system-wide php.ini file, a php.ini file in your Drupal root directory, in your Drupal site's settings.php file, or in the .htaccess file in your Drupal root directory."

Can you tell me where on my admin page I can access this in order to expand my limit and upload pdfs? Can';tThanks for all your help.

comment:4 Changed 9 years ago by alfredo

Hi Arthur,

You can almost always find this info in the faq section. It's among the largest how-to sections for an Internet system around and so it's often a good idea to check there first.

https://support.mayfirst.org/wiki/faq

Check it out.

Anyway, the item you want is at:

https://support.mayfirst.org/wiki/change_php_ini_settings

It's pretty easy to do. Let us know how you make out.

Alfredo

comment:5 Changed 9 years ago by Rajiv Sicora

Hi Alfredo,

Someone helped with this one, creating a directory according to the guidelines set out in your support FAQ. The code he provided me for this directory was suPHP_ConfigPath /home/members/caipirinha/sites/corinaction.org/include/. I went to the Members Control Panel for the corfilm account and placed the line of code at the bottom of the web configuration settings. I tried uploading a pdf file and received the same response of, "The selected file CoR film treatment.pdf can not be attached to this post, because the disk quota of 1 MB has been reached." What am I doing wrong here? Thanks for all your help and sorry about the ineptitude.

comment:6 Changed 9 years ago by alfredo

Was that a directory or a file inside a directory? Can I get a path, please?

Alfredo

comment:7 Changed 9 years ago by Jamie McClelland

The message: "The selected file CoR film treatment.pdf can not be attached to this post, because the disk quota of 1 MB has been reached." is a Drupal message.

That means that your suPHP setting may be working fine, but Drupal needs to be configured to allow a bigger upload size.

You should be able to find that setting by clicking on the Administration link while logged into your Drupal account as an administrator. Look for the File Uploads setting.

jamie

comment:8 in reply to:  7 Changed 9 years ago by Rajiv Sicora

Hi Jamie and Alfredo,

Any time I try to upload the 423 KB pdf file, I get this message:

"The selected file CoR film treatment.pdf can not be attached to this post, because the disk quota of 2 MB has been reached."

I have tried to increase the upload limit past 2MB, but have been unable to do so, for both the regular and the admin settings. When I try to alter the regular users' upload limit, I get this message:

"Your PHP settings limit the maximum file size per upload to 2 MB. Depending on your sever environment, these settings may be changed in the system-wide php.ini file, a php.ini file in your Drupal root directory, in your Drupal site's settings.php file, or in the .htaccess file in your Drupal root directory."

Alfredo, here's the path with the php.ini:

suPHP_ConfigPath /home/members/caipirinha/sites/corinaction.org/include/

Based on this info, can you tell me what configurations I need to alter? Thank you both for all your time.

Arthur.

Replying to https://id.mayfirst.org/jamie:

The message: "The selected file CoR film treatment.pdf can not be attached to this post, because the disk quota of 1 MB has been reached." is a Drupal message.

That means that your suPHP setting may be working fine, but Drupal needs to be configured to allow a bigger upload size.

You should be able to find that setting by clicking on the Administration link while logged into your Drupal account as an administrator. Look for the File Uploads setting.

jamie

comment:9 Changed 9 years ago by Jamie McClelland

Hi Arthur

Aha - that helps. Unlike the previous error, the message:

"Your PHP settings limit the maximum file size per upload to 2 MB."

does indicate that the suPHP settings are not being implemented.

I took a preliminary look and got confused, then I found ticket #3067 and remembered. Did you see my follow up to #3067. It's here:

https://support.mayfirst.org/ticket/3067#comment:1

It looks like your suPHP line has been placed in the culturesofresistance.org hosting order. However, that hosting order does not appear to be used - instead it's the corinaction.org hosting order that is being used. I'm not sure I understand the strategy for these sites - but it seems like it would simplify things if the un-used hosting order were removed.

In any event - moving the suPHP line to the corinaction.org hosting order should resolve this problem.

jamie

comment:10 in reply to:  9 Changed 9 years ago by Rajiv Sicora

Aha is right! Thanks so much for your help and your patience. Just got it working! Thanks!

Replying to https://id.mayfirst.org/jamie:

Hi Arthur

Aha - that helps. Unlike the previous error, the message:

"Your PHP settings limit the maximum file size per upload to 2 MB."

does indicate that the suPHP settings are not being implemented.

I took a preliminary look and got confused, then I found ticket #3067 and remembered. Did you see my follow up to #3067. It's here:

https://support.mayfirst.org/ticket/3067#comment:1

It looks like your suPHP line has been placed in the culturesofresistance.org hosting order. However, that hosting order does not appear to be used - instead it's the corinaction.org hosting order that is being used. I'm not sure I understand the strategy for these sites - but it seems like it would simplify things if the un-used hosting order were removed.

In any event - moving the suPHP line to the corinaction.org hosting order should resolve this problem.

jamie

comment:11 Changed 7 years ago by Daniel Kahn Gillmor

Resolution: fixed
Status: newclosed

sounds like this is done.

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.