[SOLVED] SiteAdmin/Plugins not working ++

gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sat, 2012-04-07 14:21

I am trying to find all the information to put in the bottom section of the new thread
In the part asking for phpinfo link I have followed the FAQ etc and it gets to
>If there is a warning for missing or modified files in the installer or upgrader, you should take it seriously. Neither the install or upgrade process nor G2 as an application can work correctly with missing or modified files. Upload the modified / missing files again to your server until the warnings disappear. <
At that point in the upgrade I got told

Output buffering disabled Warning
Warning: Output buffering is enabled in your PHP by theoutput_buffering parameter(s) in php.ini. Gallery can function with this setting - downloading files is even faster - but Gallery might be unable to serve large files (e.g. large videos) and run into the memory limit. Also, some features like the progress bars might not work correctly if output buffering is enabled unless ini_set() is allowed.

Gallery file integrity Warning
+ Missing files (68)

+ Modified files (11)

Looking through that list (attached) I see that CAPTCHA is on it as are a lot of the themes that are not needed or not consistent with the new version of Gallery.
Others missing probably cause the other problems.
One thing that comes to my mind as probably needing to be dealt with first is getting the SiteAdmin/Plugins working as a lot of the rest, including CAPTCHA should be able to be fixed through Plugins.

In the SiteAdmin/Maintenance, I have been running the Rebuild Thumbnails one and it stops at 495 out of over 3000 images
It has a lot of information after that which I don't understand.

etc etc
I am wondering if a lot of this is because we did the minimal upgrade on the Gallery that was the Dev version.

What should I do about this?
Should I make a new Forum Thread about this? - but I can't get the phpinfo link required in the System Info for starting a new forum.

Should I perhaps upgrade to the Dev version over the top of the current one?
And if so am I going to run into the 'problems of understanding' that I have had all through this.

Or should I Set up a new gallery for this website and then build it from the current one, cleaning out all the junk and incompatibles as I go?
If this option, Which version? My interests as far as development is concerned are Maps, themes, Image Frames, Colorpacks etc.
My head is too old for too much else new in coding etc.

OR should I just clean out the junk from the current gallery first, then come back to this other? If nothing else that would greatly reduce the 3666 images.

Gaynor

[=9]
Gallery version (not just "2"):= 2.3.1 core 1.3.0.1
PHP version (e.g. 5.1.6): = 5.2.17 cgi-fcgi
PHPInfo Link (see FAQ): /piopionz.com/gallery2/phpinfo.php (unable to check it)
Webserver (e.g. Apache 1.3.33): = Apache (SiteAdmin only gives this)
Database (e.g. MySql 5.0.32):= mysqli 5.1.51-community-log, lock.system=flock
Activated toolkits (e.g. NetPbm, GD):= LinkItemToolkit, Thumbnail, ArchiveUpload
Operating system (e.g. Linux):= Linux web1305.opentransfer.com 2.6.18-308.1.1.el5xen #1 SMP Wed Mar 7 04:57:35 EST 2012 x86_64
Browser (e.g. Firefox 2.0): = Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.151 Safari/535.19 (This from SiteAdmin. I also have Opera but Gallery doesn't work on it beyond the opening page)

AttachmentSize
Upgrade list of missing files.txt7.02 KB
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2012-04-07 14:29

php.ini not important at this point.

Output buffering is a would be nice feature, but not critical unless you are serving big files like movies.

Quote:
Should I perhaps upgrade to the Dev version over the top of the current one

this would alleviate some of the missing/modified files.
Simply upload/overwrite your current codebase with the full dev version
then run the upgrader once more.

We will see the status after that.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2012-04-07 15:44

The use of the minimal version is not the cause of the issues.

The process I outlined to you is a well and tested one that I have used several times including just last week and it is agnostic as to whether the original installation is the dev one or not.
When you think about it, the missing files message comes up on Step 2 of the installation process. There is no way for G2 to know at that point that you will move on to take over a Dev version.

The differences between both versions are:
- Some files in lib/tools
- Some additional themes and modules

The missing files message actually is not referring to this difference as there are more than 100 extra files and folders in the lib/tools folder that are not in the Minimal Version while your message says there are 68 missing.

Anyway, I don't want to confuse things so I'll just let Wayne take this home.

Some notes for Wayne:
What needs doing is to help Gaynor's get the plugins page load on her installation and then to activate ImageMagick and get her to rebuild the thumbs while explaining to her that it may stop partway through the process and she needs to keep restarting it until all of them are done.

Basically it seems that there is a problem with the toolkits. Some thumbs and resizes cannot be built at present. It may need access to her site (control panel that is) to resolve.

--
dakanji.com

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sat, 2012-04-07 16:19

I admit I am reluctant to perhaps mess up what Dayo and I have spent several days getting to work for me to be able to login and do ordinary work in it.

Suprsidr probably does not know that at some point, preferably sooner than later, I have to check through every source page of the website and remove hidden additions sending casino etc URLS, and will have to check every folder and file in my Gallery for similar interference. Also, my site is like an 'information Centre of the sky' for our town and several of the businesses have disappeared. I have to disappear references to them throughout the gallery as well as the website.

With the work Dayo did for me, I can now login and get on with that. I don't want to lose that.

One thing that I do know will help me is to be able to access the plugins page in SiteAdmin where I'll be able to remove a lot of the earlier themes that I had installed when researching them for ideas for my own themes etc back in about 2003.

I am concerned about not being able to login in IE when the other browsers work well for that. I tend to have 2 or 3 browsers open at once, with different pages open in each for cross-referencing. Most other people only use my gallery for viewing images etc, and don't have the right to upload their own. Of course the ability for them to login will need to be addressed at some point, but more are starting to use Firefox instead of IE, so will be able to login anyway.
I admit I got anxious about the overall system when I could not get the needed information for the bottom of the first page of this new thread.

Having thought along these lines, I'd rather not overwrite my current codebase at present.
I think if we can get the things Dayo mentions fixed, I could work on cleaning up the whole thing before going into that upgrade.

And I fear that redoing it all, with the way I need things explained in minute detail at present, Suprsidr might find helping me to be a very heavy task. Dayo could vouch for that, though he has been very patient.

My problem there is that I do not understand a lot of 'ordinary' computing language.

Gaynor

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2012-04-07 16:32

Don't worry, he is a very patient man :)

In the mean time, you can change your installation to the dev version by overwriting your lib/tools folder with the one from the zip package he linked to.

--
dakanji.com

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2012-04-07 16:33
Quote:
Don't worry, he is a very patient man

Here is a thought.
PM me with ftp access info and gallery admin login info and I will just do it.
No need for a lengthy thread.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sat, 2012-04-07 18:00

Suprsidr,
Dayo wrote a script that let me login. It was uploaded into the lib/support folder.
I am attaching it in case the upgraded version needs it.

Gaynor

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2012-04-07 23:00

Ok, I squeezed a few more MB of memory out of your host to allow the plugins page to show.
You have alot of outdated themes and I uninstalled most of them.
I also uninstalled a bunch of modules you don't seem to be using.
If I uninstalled something you need, go ahead and re-install it.

BUT please go through the admin -> plugins list and delete anything you don't need. Especially the old themes.

I ran the build all thumbnails task and it completed the first time(thanks to the extra memory and Imagemagick) but there were a few failed items... Mostly looked like msword documents.

Let us know if there is anything else we can do.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sun, 2012-04-08 04:22

Great work Wayne!

Gaynor: If you don't use it, delete it!

--
dakanji.com

 
gaynormcc
gaynormcc's picture

Joined: 2003-09-05
Posts: 426
Posted: Sun, 2012-04-08 10:26

Yes Thank you Wayne, and agreed Dayo.
In fact in the one hour I was home this afternoon between Church and a tangi for my best friend's husband who died suddenly last night, I started deleting unwanted themes. I'll probably have to be ruthless with colorpacks and image frames too. (tangi = several days at the marae before and at the funeral. marae = function centre with sleeping hall and lots of mattresses on the floor at night = central in the Maori Culture.)

Of course my favourite is PG theme - Pedro's one that inspired me to work in themes and colorpacks, or PGpiopio which is one of my adaptations and the Uselect Colorpacks. (Yes Uselect is in my gallery)
With that in mind I checked the user contributions and did find the Uselect colorpack there but I found the links for Download and Demo, and the link in the forum discussion to a page in my gallery are all incorrect - obviously the path was changed after that forum thread was written. It should be http://www.piopionz.com/gallery2/main.php?g2_itemId=4273&g2_enterAlbum=1 in each case.

Of course it is an old forum "Posted: Wed, 2007-03-28 01:20" but as it is referenced in the Themes catalogue - user contribs, it should be correct.

#1] I cannot edit the closed forum, nor the Themes Catalogue/User Contributions page.
Can you, please?

Actually I am surprised to see PG theme is still in the Gallery downloads rather than Pedro's later theme X_treme. I thought X_treme had replaced PG.

## Relevance to this thread = my choosing which material to remove or reinstall.

I want first to reduce the whole Gallery to the bones, without deleting things I'd have to upload later if I find I need them - and tidy it all up, while getting to know what does what and where to find what instruction in the new version.

#2] I need to know what modules visitors and users are going to want to find on my gallery. I'll need to keep for them, some of the things that don't interest me.
Can you advise me of such things? please.

One plugin that I deleted today and think perhaps I should not have is "Comments". I was thinking it was for other people to criticise (helpfully or destructively) on my photos. Now I am wondering if it is about various places where I can publish information about the file, or do Caption and Description cover all that

Then I'll want to upload and install some themes eg PG's X_treme. and some modules eg the Magic Toolbox ones, but I must not now let browsing their lists distract me from this first major cleanup task.

I don't plan my site to use e-comerce so I guess I can delete all those things, and don't care for my pics to be rated or commented on.

All this I should be able to do within the SiteAdmin/ Plugins - after reading up the relevant documentation.
I'll try to remember to try them one at a time, check it out, and delete it again if I decide against it.
As I work through it all I will certainly ask if I need help.
This will keep me busy for quite a while as the tangi continues through thursday, and then I go away to a wedding till next week.

One thing that has always impressed me about the Gallery programme is the way the more learned/experienced are so willing to help the rest of us.

Thank you both very much.
Gaynor