forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 install => Topic started by: ohara on December 07, 2012, 08:30:13 am

Title: Migrating coppermine gallery to another server
Post by: ohara on December 07, 2012, 08:30:13 am
Hello, I am currently in the process of migrating my gallery from my USA webserver to an EU based one. I have near identical setups at both ends (CentOS 6, latest versions of WHM/Cpanel etc). I have a number of sites that I have moved across by simply creating a full backup in cpanel and restoring it on the new server (it does SQL databases...everything). It has been a seamless transition as they are mostly basic sites.

However, my main site contains a coppermine gallery and approximately 1.5 million images totalling around 65 gigabytes. The SQL database is 3.5 gigabytes alone. I knew that this transfer would be a little more difficult but I was hoping that if I got it over and had everything set up the same way it would just work.

Long story short I got the site up and running on the new server. The home page works perfectly. However, my coppermine gallery not so much. For a start, the theme is COMPLETELY broken. I can log in by going directly to login.php and putting my details in, and it lets me in. I tried running update.php and it completed the tasks but it was still broken. My albums and stuff are all there, so the SQL database is obviously working fine. I managed to get into the admin panel by going directly to admin.php and I changed the gallery path in the config to the temporary new location to see if it would fix the paths for the template, but it didn't. I tried changing theme from my custom one to the default "classic" but it made no difference. If I view the source of the gallery index page, I can see it is trying to load the images from the old site (using absolute paths rather than relative). However, this strangely isn't working either despite the gallery still being live at the old location and working perfectly fine.

I tried checking the theme to see whether it was coded to use absolute paths to the images (as I did not write it, a friend did a long time ago) but I cannot find ANY reference whatsoever to the absolute path. I did a deep file search for "/theme/smiles" (my theme is called smiles) and it only found one result, and that was in template.html from an old theme which I haven't used for AGES.

So I am absolutely stumped. I am tempted to change the nameserver settings so that the url goes to the new site location, as it is essentially a mirror image of the old site at the moment, but I don't want to risk it still not working as my site receives a lot of traffic and I don't want anyone to see it broken, especially since DNS propagation takes ages and it could potentially show the broken site for 24 hours or so.

So, does anyone have any suggestions please?
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 07, 2012, 09:09:39 am
Please post a link to your new gallery.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 07, 2012, 09:53:31 am
Hi, it's super broken at the moment, with the following error:

Quote
Notice: Undefined offset: 8192 in /home/sott/public_html/smiles/include/debugger.inc.php on line 112

I think I need to update to the latest 1.4.x again, that sorted that error last time but then I managed to screw it up so royally that I deleted it all and started the restoration again before I left the studio to go home.

Once I have fixed that error I'll put the link here.

Ps. why the hell do I have to pass a captcha and a bunch of questions to make each post?
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 07, 2012, 10:13:34 am
You should be running 1.5.x now.

Would still have needed a link so we could have looked at other files.
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 07, 2012, 10:22:38 am
Ps. why the hell do I have to pass a captcha and a bunch of questions to make each post?

Spam protection for the first couple of posts. I just decreased the number of questions, let's see if this still keep away the spam bots.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 07, 2012, 10:48:46 am
Thanks Andre.

The link to the temporary new site is http://dedi.smileserv.co.uk/~sott/smiles/
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 08, 2012, 12:29:59 am
Right, back to 1.4.27 and I have also disabled all my plugins. I now have something which much more closely resembles my original gallery.

http://dedi.smileserv.co.uk/~sott/smiles/

There are still a few images missing though. I need to find out what is happening with that.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 08, 2012, 12:30:38 am
Sorry to double post (there's no edit button on here!) but I should just add I want to make sure everything is working properly before I make the jump to 1.5 :)
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 08, 2012, 01:00:35 am
What images are missing? As you have a closed gallery we cannot see anything other than the logon page making it hard to advise. Either make it public or give us a user account so we can see the problem.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 08, 2012, 01:40:38 am
Sorry, forgot it was user-only. I have turned on unregistered access now so you can see it. There are custom images on each of the albums, and also most of the sub-albums. These are present both on the existing site and the new site so regardless of whether it is coded with relative or absolute links it should work. See my attached image.

However, I cannot find the file which contains the code to display these images! Where am I going wrong?
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 08, 2012, 03:32:42 am
Right, it seems that I stupidly overlooked the fact that those were stored in SQL as the category description. It appears to allow BBcode.

On the existing site it works perfectly. However on the new site it seems to be behaving strangely. I'm not sure whether this is due to the difference in version or what. I can see from the source code that it is not trying to display the image, but instead it is setting the img url from the bbcode in the cat description to the alternative text of another image like so:

Code: [Select]
<img src="images/thumbnails.gif" alt="" title="http://www.smileonthetiles.com/smiles/images/cats/plymouth.jpg">
<img src="images/descending.gif" alt="" title="http://www.smileonthetiles.com/smiles/index.php?cat=2">

On the existing site which works the code is as follows:

Code: [Select]
<a href="http://www.smileonthetiles.com/smiles/index.php?cat=2" rel="external"><img src="http://www.smileonthetiles.com/smiles/images/cats/plymouth.jpg" alt=""></a>
<img src="http://www.smileonthetiles.com/smiles/images/cats/plymouth.jpg" alt="">
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 08, 2012, 08:23:08 am
I tried using searchnew.php and it gives me this error:

Quote
Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

Turning on output buffering in php makes no difference (the old server has it turned off and that works fine).
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 08, 2012, 09:09:08 am
Here is what I suggest you do. Return to your old server and update hat from 1.4.x to the latest 1.5.x release. Once that is working only then can we try to move it to your new server. There are a lot of changes in 1.5.x and we do not want to waste time trying to fix problems here that may have already been fixed in 1.5.x
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 08, 2012, 09:39:05 am
Yeah I completely understand. I do not want to risk updating my existing site to 1.5 as if it breaks I cannot afford the downtime which will result in restoring a backup. The trouble is that the version I am running is so outdated, things are bound to break during the upgrade process.

I have done an install of 1.5.x on the new server and let it update the SQL database. It seems to be working ok for now, better than the updated 1.4.x one was. Obviously my theme needs re-writing but that is not absolutely essential right now.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 10, 2012, 10:20:50 am
Right I'm still having a few problems with 1.5:

searchnew.php does not work (there is some heavy activity by php5 on the server for a bit, then I just get a white page)
javascript doesn't seem to work
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 10, 2012, 10:45:21 am
Enable debug and post a link to the wherever it does not work. Does it work with the default curve theme?
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 10, 2012, 09:59:46 pm
Right I'm gonna start the upgrade process again and then do the debugging. Is it best to upgrade to 1.4.27 first or straight to 1.5.x?
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 10, 2012, 10:07:37 pm
I suggest to upgrade to cpg1.4.27 first, but I'm not sure if it's mandatory (haven't checked the database changes).
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 13, 2012, 01:56:33 am
Right I'm back on 1.5.x now. With debug on I get the following errors on the index page:

Quote
/index.php
Notice line 466: Undefined variable: FORBIDDEN_SET
/include/functions.inc.php
Notice line 4331: Undefined variable: result

And in the admin.php:

Quote
/include/functions.inc.php
Warning line 4173: ksort() expects parameter 1 to be array, null given
Warning line 4183: Invalid argument supplied for foreach()
Warning line 4173: ksort() expects parameter 1 to be array, null given
Warning line 4204: Invalid argument supplied for foreach()
Notice line 5739: Undefined variable: language_array
Notice line 4331: Undefined variable: result
/themes/smile/theme.php
Notice line 1254: Undefined index: display_faq
Notice line 1291: Undefined index: faq_title
Notice line 1292: Undefined index: faq_lnk

Also I don't think my gallery thinks that I have gd installed even though I do. Although this isn't too important as I don't do any image manipulation on the server anyway.

I notice the login form on the top left of the page doesn't work, I guess this has been removed from the latest version?

Any help is much appreciated.
Title: Re: Migrating coppermine gallery to another server
Post by: Joe Carver on December 13, 2012, 02:21:54 am
Your theme probably needs to be updated as a start.

Take a look at the docs and apply the needed changes. Of course you could use a default theme for testing purposes.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 13, 2012, 03:20:20 am
I have already made the changes recommended by the theme update docs page.

Searchnew.php still draws a blank page.
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 13, 2012, 10:55:53 am
I don't do any image manipulation on the server anyway.


Coppermine does, that is how it generated the thumbnails and intermediate images. You can use GD2 or Imagemagik but one of the two must be installed and usable by CPG.

In addition your problems are definately theme related. Your custom theme needs some work by the looks of it. I have checked the functionality of your site at http://dedi.smileserv.co.uk/~sott/smiles/ with the curve theme and all is working as expected. Please zip your theme folder and attach it to your next post.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 13, 2012, 01:22:49 pm
GD is installed, I'm not sure why coppermine thinks otherwise.

My theme is attached. Thanks again for your help.
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 13, 2012, 02:44:40 pm
It might be difficult to upgrade a cpg1.4.x theme to cpg1.5.x if your theme.php file contains a lot templates and functions (I hadn't a look at it yet). However, they need to be upgraded, too, but that's sometimes not straightforward. Unfortunately, there's no upgrade tutorial which explains this in detail because of the various possibilities.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 13, 2012, 06:52:41 pm
Ok that's fair enough. That doesn't explain why other things don't work (like searchnew.php) though does it?


I don't understand why the transition didn't just work straight off as it was, everything is the same on both sides. I know the version I was running is massively out of date but it at least it works. I would have been happy to leave that running on the new server if it had been a simple swap over.
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 13, 2012, 09:29:58 pm
Ok that's fair enough. That doesn't explain why other things don't work (like searchnew.php) though does it?


Does it work with the curve theme if you first browse to this link - http://dedi.smileserv.co.uk/~sott/smiles/index.php?theme=curve
It seems to work for me.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 14, 2012, 05:02:01 am
No, it doesn't work for me even with the curve theme. It thinks about it for a minute, but just loads a blank page.
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 14, 2012, 11:12:20 am
Please try if it works when you toggle "Browsable batch-add interface" in config.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 14, 2012, 02:05:04 pm
Ok, I actually get the batch-add page now. But once I choose the directory and click OK, I just get taken to a blank white page again.
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 14, 2012, 02:34:35 pm
Please check if it happens for all directories. Furthermore, please post more details if you expect help. E.g. copy the link from the address bar and tell us something about that directories' content.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 14, 2012, 03:31:07 pm
I just created a folder under /albums called JPEG with a bunch of photos in there. When I try to batch add it, it calls this url

Code: [Select]
http://dedi.smileserv.co.uk/~sott/smiles/searchnew.php?startdir=JPEG
But just gives a blank white page.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 16, 2012, 09:52:26 am
Anyone? Starting to get a little worried now, I only have 1 week left of the month before I have to pay for another month on my original server. I hoped to have the whole site over so I could end the original one. It isn't cheap either :(

I'm getting really desperate now, I'll stay on 1.4.x if that's what it takes, I just need to know why it won't work straight out of the box when I restore the backup on the new server...can someone PLEASE help me?
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 16, 2012, 10:26:29 am
Does 1.5 work on your old server? I am a little confused as to what is working where at the moment.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 16, 2012, 11:51:33 am
Ok. The original gallery is on 1.4.5. I don't want to try upgrading to 1.5 on that one because it has so many plugins and a heavily customised theme and I can NOT afford the downtime if it breaks which I am 100%  certain it will.

I just want a fully working version of my gallery on my new server, I don't care which version it is. So far I have not been able to get any to work, even restoring a complete backup from my old server on to my new server did not work. I think that is the best option despite it being so outdated, because at the end of the day it works and that is what I need.
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 16, 2012, 12:45:13 pm
While I understand what you are saying we really cannot support 1.4.x. There are so many reasons one of the biggest being that it would take any hacker a very short time to destroy your site. In addition, that version has a number of known problems especially with later releases of PHP.

http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_why
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 17, 2012, 10:25:12 pm
thanks
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 17, 2012, 11:51:08 pm
Have you fixed it then? We will try and help with 1.5.x but I am sure you can appreciate our reasons for no longer supporting 1.4.x - http://forum.coppermine-gallery.net/index.php/topic,66659.0.html
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 18, 2012, 01:20:39 am
I fully appreciate that you don't want to support and old, insecure version. I would be happy to run the latest one but it is absolutely imperative that it works almost exactly the same as the old one. So far through my own efforts and with the help from here I have not been able to achieve a result anywhere near that. I am not a coder or a web developer so it is not within my skills to redesign an entire theme.
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 18, 2012, 01:12:44 pm
To upgrade your theme you need to know what exactly has been adjusted in which functions and why (what happens because of that code change). The probably easiest way to find that out is to compare the content of your theme's theme.php file with its corresponding unmodified code blocks in include/themes.inc.php, e.g. with a diff viewer like WinMerge.

Now, you have to replace the outdated code blocks in your theme's theme.php file with their cpg1.5.x counterparts. Then, you have to re-apply the code changes. Depending on what exactly has been changed that may be trivial or not.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 21, 2012, 12:29:12 pm
This is really getting beyond me now. All I want is this to work, I honestly thought it would be simple.

How do I solve this error?

Quote
Fatal error: Cannot redeclare cpgGetMicroTime() (previously declared in /home/sott/public_html/smilenew/include/init.inc.php:25) in /home/sott/public_html/smilenew/include/init.inc.php on line 27
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 21, 2012, 12:37:04 pm
Has the code for the login box changed? As it doesn't seem to work in 1.5.x and just shows {LOGIN_FORM} on the page. Also, why does it show {JAVASCRIPT} in the very top left of the page?

Why does my custom theme have a theme selection box and a choose your language box when it shouldn't? How can I get rid of them?

Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 21, 2012, 01:02:43 pm
I have enabled guest access and debugging, can anyone take a look please?

Now at http://dedi.smileserv.co.uk/~sott/smilenew/index.php

:)
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 21, 2012, 03:52:08 pm
This thread is very messy. As far as I can see you upgraded your gallery to cpg1.5.20 and now make your theme fully compatible with cpg1.5.x, right?

If so, what's the actual issue? Is there still an issue at all?
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 21, 2012, 10:02:08 pm
I don't think the theme is the root cause of all my problems though, even using the curve theme I get errors like this:

Quote
Fatal error: Cannot redeclare cpgGetMicroTime() (previously declared in /home/sott/public_html/smilenew/include/init.inc.php:25) in /home/sott/public_html/smilenew/include/init.inc.php on line 27
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 21, 2012, 10:21:35 pm
If you need support, please post some directions where exactly it happens. Additionally, make sure that there are no old cpg1.4.x files in your Coppermine folders (check especially the bridge folder).
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 22, 2012, 09:52:11 am
Do you think I'll actually ever get this to work? Because I don't want to waste time and money forever in vain trying to fix something that is too broken to fix.

I didn't create the custom theme that I use and I am not a coder so I don't think I'll ever be able to update it for 1.5.x

There are a couple of plugins which I rely on too which don't seem to be compatible with 1.5.x so I think I'll just downgrade the version of PHP on my server and stay on cpg1.4.7

Thanks for the help that everyone has tried to give here but I really am at my wits end with this now and I just want my gallery to work on my new server and I now firmly believe that it will never be able to be upgraded to 1.5.x and retain its current functionality.

Merry Christmas all
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 22, 2012, 04:47:17 pm
You really are at risk using 1.4.7. At the very least update to the last of the 1.4 line.

As for plugins that you cannot find for 1.5.x which ones in particular?
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 22, 2012, 09:11:33 pm
I need CPGMassImport and photo shop.
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 22, 2012, 11:29:43 pm
I need CPGMassImport and photo shop.

You mean - http://forum.coppermine-gallery.net/index.php/topic,61281.0.html

And - http://forum.coppermine-gallery.net/index.php/topic,67506.0.html



Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 25, 2012, 03:18:57 am
I'm still having one major problem - I can't actually add any photos!

searchnew.php does not work and neither does the mass import plugin!
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 28, 2012, 10:51:40 am
Last attempt: please post sufficient information if you expect helpful answers. I currently don't know which Coppermine version you're talking about, what exactly you have done and what exactly doesn't work. We need detailed error messages what doesn't work or what happens when you do/click something.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 28, 2012, 11:31:49 am
Ok, big load of information. This is the situation as it stands now.

I have not attempted to do any upgrades to the ORIGINAL gallery install.
I downgraded PHP to 5.2 on my new server, unpacked the backup of the original install and it works perfectly (version 1.4.8).
I have managed to upgrade the new install to 1.4.20
If I go to 1.4.21 it breaks the main category images - was BBcode in category descriptions removed in this version?
Apart from my custom login box, everything else works fine.

I talked to the person who originally made the custom theme that I am using and she explained the situation. It was intended that certain sub-categories would have their own themes. As this was apparently not supported in 1.4.8, some custom coding was done in order to achieve it. There was also some hard coding done in order to allow adverts at the side of the page (also not supported in 1.4.8 I am told). These modifications were done by a user I believe to be of this forum, possibly a member of the development team (I can't remember the name but will find out) in return for payment.

Obviously my end goal is to get the gallery up to date on the latest version of 1.5. Due to the custom coding done on my gallery, this is not something I would be able to achieve by myself, and my theme would obviously need re-writing. If anyone would be willing to take on this challenge (basically getting my gallery onto the current version of cpg, looking and working exactly like it does now) then I will be happy to offer payment.

I am fairly confident that this is the largest install of coppermine gallery currently in the world and it has been going for over 7 years without fault. We have over 150,000 registered users. 1290274 files in 19501 albums and 192 categories with 57461 comments viewed 18862714 times. I was informed by the person who originally made the theme that at one point our gallery was actually being used by your development team for testing due to its sheer size.

I would be very grateful if anyone can help me get this sorted. I have this morning transitioned over to using the new server, the name servers should be updating sometime around now so  my new site is pretty much live.

Thanks, and I hope you all had a great christmas.
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on December 28, 2012, 11:45:13 am
If I go to 1.4.21 it breaks the main category images - was BBcode in category descriptions removed in this version?
Yes, see announcement thread (http://forum.coppermine-gallery.net/index.php/topic,58309.0.html).


Unfortunately your big load of information doesn't clearly state if your current issues
I'm still having one major problem - I can't actually add any photos!

searchnew.php does not work and neither does the mass import plugin!
apply to your restored cpg1.4.8 backup, to any updated version of cpg1.4.x or the latest version of cpg1.5.x.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 29, 2012, 05:53:38 am
Sorry for not being clear enough. You can ignore everything up to my previous post as that is the situation now. Everything works except for the custom login form. It's version 1.4.20
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on December 29, 2012, 10:43:34 am
So as eveerything works is there anything else needed from our side until you upgrade to 1.5.x?
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on December 30, 2012, 09:53:20 am
Yeah - I need to be able to resolve the login form not working and also how to keep my images in the category descriptions without using BBcode (HTML obviously isn't allowed either).

My aim is to get to 1.4.27 for now and once I have rewritten the theme, go to 1.5.x
Title: Re: Migrating coppermine gallery to another server
Post by: Αndré on January 02, 2013, 01:45:44 pm
Everything works except for the custom login form.

As far as I know Stramm's modpack and maybe some other mods/plugins provided such a login form for cpg1.4.x, maybe you created it yourself. I don't understand why you don't
post sufficient information if you expect helpful answers.

As we already said, cpg1.4.x is unsupported. However, if I remember correctly there are already some threads that deal with custom login forms and also how to undo the BBCode fix. If you don't find the thread for the latter issue, just have a look at the cpg1.4.21 announcement thread, follow the link to the fix and undo that security fix. Regarding the first issue, if you used Stramm's modpack you have to re-apply it after the upgrade to cpg1.4.27.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on January 02, 2013, 08:00:45 pm
Ah yes I think you're right. It did say "Modified by Stramm" at the bottom of my gallery before I went to 1.4.19

How can I get images in category descriptions without BBCode?
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on January 02, 2013, 11:58:00 pm
The thread Andre refers to restores the bbcode functionality. The rerason it was removed was because of a potential security risk. However 1.5.x fixes much of that and also brings in many features of the modpack.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on January 04, 2013, 04:06:37 pm
Right I'm now on 1.4.27. There's just a couple of things I need to sort before the jump to 1.5.

BBcode in the category descriptions still doesn't work.
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on January 04, 2013, 04:42:46 pm
Have you actually read that thread - http://forum.coppermine-gallery.net/index.php/topic,58309.0.html
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on January 04, 2013, 06:38:10 pm
Yes - so bbcode IMG and URL tags can not be used then. Thanks.
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on January 04, 2013, 06:53:56 pm
You can if you apply the modifications.
Title: Re: Migrating coppermine gallery to another server
Post by: ohara on January 04, 2013, 07:40:53 pm
I did, and it didn't work. But I've fixed it in another way now anyway.

I noticed that when batch adding (which is how I always add my photos), the gallery won't add more than 480 or so in each batch, if I try to do more than this, it just reverts back to searchnew.php after a while and nothing has added, there are no errors or anything. I have set my php memory limit, post size and upload size fairly high. Any ideas?
Title: Re: Migrating coppermine gallery to another server
Post by: Phill Luckhurst on January 04, 2013, 09:18:02 pm
Possibly server related, possibly something that would be fixed by upgrading to 1.5. If it fails when you update to 1.5 then we can look into it further.
Title: Re: Migrating coppermine gallery to another server
Post by: sharperalison6@gmail.com on May 31, 2019, 01:57:29 pm
Your theme probably needs to be updated as a start.

Take a look at the docs and apply the needed changes. Of course you could use a default theme for testing purposes. (http://"https://thefancyplace.com")

Hi , i had the same issue and yes you are right, i had to update my theme, then everything started to work like a charm.

Thanks !