petersandeen
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: If function with multiple "answers"Thank you jnhghy, you answered before I even could ask… ??
Forum: Fixing WordPress
In reply to: If function with multiple "answers"Thank you so much Ishaan ??
That’s exactly what I was looking for.
Out of curiosity, is it possible to combine two different functions in one if statement? In other words: if(in_category(‘birds’) OR has_tag(‘mammoths’)):
Forum: Fixing WordPress
In reply to: If function with multiple "answers"Thank you Ishaan for your reply.
But as I mentioned in the original question, I know I can add else if statements, but I’d like to add more “answers” into the first if statement to keep the code shorter. There will be more than 20 else if statements (all with a bunch of code) if I go that road.
If it’s not possible to have multiple answers in one if statement, I’ll have to use multiple else if’s…
Forum: Fixing WordPress
In reply to: Can't upload imagesThank you both for your help.
It turned out to be a permissions problem. The upload started to work when I changed the permissions of the January’s uploads folder to 777…
Thank you again ??
Forum: Fixing WordPress
In reply to: Can't upload imagesThanks again for helping.
I created the file (and made sure there’s no additional hidden extensions in its name).
I copy pasted the code into it. (I later also tried adding “php” after the first “<?” with no effect.)
I uploaded it to the folder where the site is (httpdocs). I tried opening it by navigating to https://affectselling.com/phpinfo.php5 and through the control panel. The result was the same in both cases, the browser downloads the file (and only the original code is in it). Did I even attempt to open it the right way?
I don’t know how to upload the file to the root of the server itself (or even the root folder of the site). Is that what I should’ve done? At least my FTP manager (FileZilla) refuses to upload anything there and I can’t even find a way to see the (server root) files through Plesk control panel.
kmessinger, what do you mean with an ownership problem? If that’s the case, what can I do?
I’m sorry I need to ask for more help. I really appreciate it.
Ps. I’ve searched for an example of a php.ini file, but haven’t found one. I’ve only found endless talk about the functions (that I don’t understand) of the file. Could someone point me to the right direction? And should it be “php5.ini” since the server has PHP version 5?
Forum: Fixing WordPress
In reply to: Can't upload imagesI just found a php.ini file on the server. It was in the “real” root folder’s “etc” folder. I previously only checked for the “root” (httpdocs) folder where wordpress and all other files for my domain are stored.
But could someone explain what am I looking for here. I read through the file and didn’t understand what I should check for.
Is this part of the code important?
max_execution_time = 60 max_input_time = 60 ; Maximum amount of time each script may spend parsing request data memory_limit = 128M ; Maximum amount of memory a script may consume
My pictures are only about 50kB…
Do I need the php5.ini file? Or can I modify the existing php.ini file in some way?
Thanks for helping ??
Forum: Fixing WordPress
In reply to: Can't upload imagesMy host is GoDaddy so their reply was the usual “We couldn’t care less of your satisfaction. Nor did we even bother to read your email to the end.”
They basically said, I should ask for help elsewhere. And their response indicated that they obviously didn’t even read through my email.
They claimed there is a php.ini file on my server, but I can’t find one in the file they specified, nor anywhere else. Maybe it disappeared when I upgraded the PHP version… Anyhow, I need to create one by myself now. (Or is it possible that it would be completely hidden from FTP access???)
I searched for instructions on how to create a php.ini file, but couldn’t find an example/explanation I’d understand. If I understood correctly, the file should be “php5.ini”. Could someone please help?
Thank you so much for your help.
Forum: Fixing WordPress
In reply to: Can't upload imagesThanks for helping.
I can’t find a php.ini file. Do I need to create one? If I do, how can I do that?
I tried finding (simple) explanations for creating the php.ini file, but they didn’t mention image support…
Forum: Plugins
In reply to: CommentLuv XML Error in some blogsThanks again.
If you find a solution, please post it here ??
Forum: Plugins
In reply to: CommentLuv XML Error in some blogsThanks for helping.
You were right, deactivating Jetpack solved the problem. But when I reactivated it the problem too came back. Is there anything I can do (besides not using Jetpack)?
Forum: Fixing WordPress
In reply to: Every page is "Not Found" except for the home pageIt started to work! I didn’t do anything new. Maybe there was a latency before the permissions changed or something…
Thank you, James, so much. I’m truly grateful ??
Sincerely,
Peter SandeenForum: Fixing WordPress
In reply to: Every page is "Not Found" except for the home pageNow that you mention it, I remember that it used to say something about it previously, but it doesn’t anymore. So, no there’s no mention about .htaccess now. And now there’s an .htaccess file on the server.
Thank you so much for helping me. What should I do next?
Sincerely,
Peter SandeenForum: Fixing WordPress
In reply to: Every page is "Not Found" except for the home pageThanks again for helping.
WordPress is installed in the httpdocs folder. There are 4 folders: wp-admin, wp-content, wp-includes, and plesk-stat. There’s also WordPress files like wp-app.php, wp-load.php, and wp-install.php. Other than the files that start with “wp” there are 5 files: favicon, index.php, licence.txt, and readme.html.
The level above is the root folder (as far as I know, I might be wrong here, but the folder doesn’t have a name, but just a “/” as its name). Other than the “httpdocs” folder there are 10 folders: anon_ftp, cgi-bin, conf, error_docs, etc, pd, private, statistics, subdomains, and web_users. Only two of these folders have anything in them: “anon_ftp” has 3 files: conf, incoming, and pub. And the “cgi-bin” folder has one file called “test”.
I changed the permissions of the folder “httpdocs” where wordpress is installed to 777. Its permissions is now “flcdmpe (0777)”. But the problem is still the same. Only the home page loads. Here’s the address if it helps: https://affectselling.com
What did I do wrong? Or do I need to do something else as well?
Sincerely,
Peter SandeenForum: Fixing WordPress
In reply to: Every page is "Not Found" except for the home pageThanks for a quick reply. But as I said I’m not really tech-savvy ?? Could you explain what that means and how do I do that? I do have FTP access, but where do I go from there? I think there’s no .htaccess file there now.
Sincerely,
Peter SandeenForum: Installing WordPress
In reply to: Server and/or installation problemI got it working now ??
I had done what the install process told me to do: Create a wp-config.php file and upload it. Now I did what you said and only changed the sample version and suddenly it started working.
Thank you so much for the help!
Can someone explain why it started working?