Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
When someone tries to sign up to my website they keep getting this error code:
ERROR IP currently active
My question is how can I fix this in my sign up folder this is the only IP text I have so i'm unsure I bought the site yesterday.
i just want to know what i need to get rid of so i can get rid of that where it says ip currently active
Well, this is where that message is displayed (well, where it originates anyway):
$msg = "IP is currently active.";
So if you want to remove that message then you want to remove that line of code. Which in turn means you can remove the if block containing that line of code, since it would be empty. And unless anything else is using the results of the database query which drove that if block, you can remove that as well.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am trying to upload my sitemap to Google webmaster and received 1 error.
How can I fix with this error?
Error details: 1 Errors, 0 Warnings.
Description:
We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.
Your sitemap is either configured incorrectly or doesn't exist on the link you've specified. The simplest way to add a sitemap is to use a plugin such as:
https://wordpress.org/plugins/google-sitemap-generator/
and then just submit the link to Google http://yoursite.com/sitemap.xml
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
im copying a file from another domain. It does not give me any errors but the files does not get recognized and its different size from the original file. Its the same extension i checked. so im kinda clueless.
if (!copy('http://maholi.com/image/data/Products/Linen - Juvenile and Infant/1440.jpg', $_SERVER['DOCUMENT_ROOT'].'/resources/categories/tttt6.jpg')) {
echo "failed";
}
any ideas?
This works fine for me:
if (!copy('http://maholi.com/image/data/Products/Linen%20-%20Juvenile%20and%20Infant/1440.jpg', $_SERVER['DOCUMENT_ROOT'].'/tttt6.jpg')) {
echo "failed";
}
Edit: URL's are not allowed to contain spaces. See "Is a URL allowed to contain a space?". Your web browser will automatically encode illegal characters, making you believe they are allowed.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Helo there...
I inserted an Update Record form in Dreamweaver to update the category data on MySQL.
The line of coding below is what is giving me the problem.
<?php echo htmlentities($row_categoryedit['strdiscription'], ENT_COMPAT, 'uft-8'); ?>
If it is included the page gives me an internal server error.
If it is excluded the page works, but it dose not update the record.
Also when I preview it live it shows that there is errors on these 2 lines...
if (isset()) {
$varCategory_categoryedit = ;
Am I missing something or doing something wrong?
you must have a variable in isset() function.
example:
if(!isset($varCategory_categoryedit)){
$varCategory_categoryedit = "1";
}
http://php.net/manual/en/function.isset.php
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I recently created a server with a digital ocean and I have been trying to learn their commands and what not so I can create web servers. I have a project that I have uploaded, and when I visited that page, what was meant to show my project, displays as a blank webpage
I have located the problem to this file, see I have wrote a bunch of test 1, test 2 to find my problem because no errors are showing. Go to line 45 and you will see this, and then at line 111 where it is throwing an exception is where it halts.
https://bitbucket.org/benshepherd/ben-mvc/src/79041e868b85aeeacfefac23ce729a0c2a6b949f/Libs/Controller.php?at=master
you can see here http://178.62.26.90/mvc/ the results of what it is echoing out.
Line 97: Either the model class needs to be called pagesModel or this line needs to change to be
$class = ucfirst( $modelName ).'Model';
Also line 94:
$file = __DIR__.'/Models/'.$modelName.'.php';
Should probably be:
$file = __DIR__.'/../Models/'.$modelName.'.php';
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I use a code to set the URL as:
http://domainname.com/user
The problem is that I use some masks in my .htaccess, so what we see in the URL is not always the real path of the file.
What I need is to get the URL, what is written in the URL, nothing more and nothing less—the full URL.
I need to get how it appears in the Navigation Bar in the web browser, and not the real path of the file on the server.
You need to simple check in PHP what's the value of $_SERVER['REQUEST_URI']
or substr($_SERVER['REQUEST_URI'],1) if you want to remove leading slash