HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

New Install Probs

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#29601
Avatar

Well-settled

Unfortunately .htaccess didn't work, I'll see if I can work something out with the server admin.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29668
Avatar

Well-settled

Got him to raise the limits. Tried the upload again and eventually it just gave me a blank page. Checked the gallery and there were only 2 images in it.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29685
Avatar

ocStaff (admin)

Possibly there might be a memory limit issue now- possibly the PHP unzipping code uses lots of memory. Have you tried a TAR file?



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29706
Avatar

Well-settled

It was a TAR file. Can you give me an estimate how much memory I may need? The current file is about 11meg but it's quite possible future events will have more photos.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29723
Avatar

ocStaff (admin)

Probably about 5MB + <raw-image-data-size>.
So a 1024x768 32bit image would hit 8MB (the default PHP memory limit).

Do you know if you have a memory limit set, and if so what it is?

Blank page errors are always tricky, because it means something happened within PHP other than a normal error; usually it is a memory problem, because when PHP scripts exceed their memory allowance, they are quickly terminated. Many servers don't say why, hence a blank page.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29735
Avatar

Well-settled

I'll look into that memory limit. Pictures from our various events vary in res from 900 x 600 up to 2160 x 1440 (24bit). So I'm gonna need nearly 14meg….wonder what our server admin will think of that…..

I assume we're referring to the process of generating thumbnails?



Last edit: by clawcity

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29738
Avatar

ocStaff (admin)

Correct :).



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29803
Avatar

Well-settled

Contacted my server admin. Memory is already set to 20meg and no php errors were logged by the server.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29834
Avatar

ocStaff (admin)

I'm out of immediate answers at this point. You might want to run some tests of your own, trying different upload sizes and working out where it is stopping.

Personally I'd set up a little test code like this…
Change lines 334 of cms/pages/modules/cms_galleries.php from:

Code

            require_code('tar');
            $myfile=tar_open($tmp_name,'rb');
            if ($myfile!==false)
            {
               $directory=tar_get_directory($myfile);
               foreach ($directory as $entry)
               {
to:

Code

            require_code('tar');
            $log_file=fopen(get_file_base().'/uploads/attachments/tmp_test.txt','wt');
            $myfile=tar_open($tmp_name,'rb');
            if ($myfile!==false)
            {
               $directory=tar_get_directory($myfile);
               foreach ($directory as $entry)
               {
                  fwrite($log_file,$entry['path']."\n");
then do an import, and then look to see what's in uploads/attachments/tmp_test.txt. The last line in the file would probably be the name of the file which ocPortal halts on.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29847

Non-joined user

Install problem

Hi when I try to install I get this error: ocPortal installer: step 8 of 10PHP [2] preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 3 Any IdeasThank you
Back to the top
 
Posted
Rating:
#29855
Avatar

ocStaff (admin)

Ah. There's a bug in our bug database about this (under the latest version), but I didn't realise it affected installation. You'll need to use the manual installer and apply the fix before running install.php.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29859

Non-joined user

Install problem

Hi Chris can you give me a link for that download, I can not find it.Kind RegardsGarystep 8 of 10PHP [2] preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 3
Back to the top
 
Posted
Rating:
#29881
Avatar

ocStaff (admin)

Nevermind, I wrote my last comment in the morning rush. I've attached a fixed quick installer this time around.



Attachment
» Download: quick.zip (10 Mb, 91 downloads so far)



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29921
Avatar

Well-settled

It seems to be images above 900x600 that are causing problems. Sometimes I can get the larger ones up if there's only a few in the TAR file, sometimes not.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29923
Avatar

Well-settled

clawcity said

Thanks mate. The TAR idea works a charm by the way, though oddly it creates a nice folder for my gallery, and then puts the files OUTSIDE the folder, lol.
And just to make life more interesting, the page listing images not registered to a gallery doesn't look in these subdirectories.

I've also discovered the gallery is cleaving pictures off at the side of the page instead of providing a horizontal scroll bar. This is kinda a problem.



[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29926
Avatar

ocStaff (admin)

Please try this…
In the global CSS file, somewhere near the middle, change the gallery_media_expose class to:

Code

.gallery_media_expose {
   overflow: scroll;
   text-align: center
}



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29927
Avatar

ocStaff (admin)

I've now made a few small optimisations (included in the next patch release) that should make the memory use more efficient. However I can't make any guarantees as ultimately there's a limit there.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29938
Avatar

Well-settled

Strangley the change to .gallery_media_expose gave me little scrollbars on all my thumbnails, but not on the full size image.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#29945
Avatar

ocStaff (admin)

I should have said overflow: auto; rather than overflow: scroll;. I'm surprised it's not working for you on the full images though with 'scroll' - let me know if it still doesn't with 'auto'.



Become a fan of ocPortal on Facebook or add me as a friend.

Expand: Was I helpful? Was I helpful?

Expand: Follow me on Twitter Follow me on Twitter







If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource.
Back to the top
 
Posted
Rating:
#29949

Non-joined user

The same error in the manual installer

Guest said

Hi when I try to install I get this error: ocPortal installer: step 8 of 10PHP [2] preg_match() [<a href='function.preg-match'>function.preg-match</a>]: Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 3 Any IdeasThank you
 


Hello Chris.

Can you fixed this problem also in the manual installer please.

Thanks.

Robert :cool:




Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Expand