Hello everyone!
N00b here by any measure, so please bear with me :)
Unzipped the importer to my server, /forum2/import/ .
If I navigate to /forum2/import/ I get the folder listings. Executing import.php gives me an error 500. I try to navigate to OpenImporter/Importer.php, and all I get is a white page. Adding the usual php error reporting options to the php gives me a 500 error again...
I have the feeling I'm doing something spectacularly wrong, can anyone help? :(
Thanks!
Hello and welcome to Elkarte!
Post the server logs you get. What php version are you using?
Thanks for the welcome and for the reply :)
I'm still on 5.5.9 as far as php goes. Which logs are you interested in? My /var/log/apache2/error.log doesn't contain much related, only one entry for today...
Bump? :(
Why are you on PHP 5.5.9? What are you trying to convert?
Trying to convert from SMF - forgot to mention but it doesn't really matter because I didn't go as far as to pick :D
Still on 5.5.9 because it Just Works (TM) :D Unsure how a move to 7.x will affect SMF, so...
Depends on which version of SMF it is. If it's 2.0.17 will be fine on 7.2, but if it's an older version it may not be.
I don't know if Elk will handle 5.5.9 though. That's pretty old PHP.
ETA: Just checked the requirements for Elk. Says it should be ok with PHP 5.2+
Yeah, Elk is already up and running, and I'm at the phase of trying to import data from SMF.
Yes, I know 2.0.17 is supposed to be fine, though I've seen comments indicating issues, but anyhow. The problem for now is with the importer! :D
Better test it and report. Guessing won't help that much.
Test what? I'm posting because I have an issue with the importer, the rest are irrelevant at this point.
You said you are a newbie so please note that error 500 is not the importer error but the server error. You can google around to ascertain what it is. All I can say is fix your server, then test it and report. You want people to bear with you, so bear with us too.
I know what a 500 error is (I didn't say I'm a newbie in general, I'm a newbie *here*)... but it doesn't make any sense, I'm just turning debugging on, otherwise I get a blank page. You suggested trying "it" and I'm saying, try what.
The php memory limit can produce a 500 error if it is exceeded.
Interesting, that is something I didn't know. However, since we're using big uploads on our site, our memory_limit is set at 128MB. I doubt that's not enough?
128 should be plenty. How about php, apache/nginx or mysql timeouts?
Not sure if it's an indication, but the issues (either the blank page or the 500) appear instantaneously. I doubt it's a performance issue since the server is handling a mediawiki and a smf installation with some traffic and quite a few visitors with no issues... I'm hitting my head against a wall right now :D
It isn't about performance. The importer can take some time, even on a smaller forum. Regardless, a proper solution requires a methodical troubleshooting approach. Lost car keys are never, ever where we
think they are. If they were, they wouldn't be lost.
Also check file ownership. Pay particular attention to the importer itself.
No, I know it's not about performance. What I was saying was that there was no opportunity for time outs since I got the issue immediately. Also, note that the import process hadn't even started yet, I haven't gotten that far :D
Is there somewhere I can see what permissions the files must have?
Thanks again!
Ah! Gotcha! You should be able to see file ownership using your ftp client. For example, in Filezilla, right click the file to view and select from the popup. Or you can list them in SSH.
Apologies, I wasn't clear :D I know how to see them, I was asking what they should be! ("where can I see what they must be?")
Apologies again, I can see how I wasn't very succinct :D
No worries Gryzor. Sometimes internet communication can be tricky. Lol!
Since the importer should be deleted after the process is successful, there is no harm in giving it full read/write permissions. I'd go 777. As for ownership, it depends on your particular OS configuration. Assuming your forum operated correctly previously, ownership should match that of the other forum files.
I would personally just test and do it on my pc. Once it is successful, I would transfer them back to the host.
Argh... I had already given it 777, owner and group are www-group, all seems fine but I still gall at the first hurdle...
Unfortunately my time is up :( I'm beginning a new job on monday so I won't have the time to look into it for the foreseeable future probably... thanks for trying to help, people. With you all the best!