w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
Cant run azure site in my development computer
Not sure what's going on, as a simple F5 on a brand new MVC4 project should "just work." Having said that: Make sure you're running VS2012 as administrator, otherwise it won't launch the emulator. Make sure your Azure project is the startup project.

Categories : Azure

Getting install.php when export site from development server to production
Try setting the drive to mysqli. Also, follow this steps: 1) Take a back up of your db and save it to a safe place 2) Remove all the tables from the db, and remove the setting.php or rename it 3) Do you clean install of Drupal using those files 4) Once finished, import the db back up This process always works on all platforms, in all the situation

Categories : Drupal

mtlanius theme issue - Site move from development to production server
But you did copy the entire database to a new server? Because if in core_resource table there would be entry for mtslideshow extension with the same version that it had on the last server, then sql shouldn't be run again.

Categories : Magento

Exporting/migrating data from an existing live site into our new development version
Machine names are unique in Drupal so it's tough to migrate the data's. Anyhow below link might help you to sync data between servers & database, http://drush.ws/#SQL-sync http://drush.ws/#core-rsync

Categories : Drupal

jQuery won't run on development site, but works on online code editors. Can't find conflict
Try encasing in DOM ready handler $(function () { $('.iconcontainer .icon').on({ mouseenter: function () { $('.outercontainer .slidecontainer').addClass('hiddenslide'); var show_slide = $(this).attr('data-slide'); $('.' + show_slide).removeClass('hiddenslide'); } }); }); Your script is declared before the body and the elements are not yet available in the DOM . So event is bound to an empty jQuery Object. Encasing your code inside DOM handler makes sure the elements are available in the DOM before any events are bound. If not you can move the script to just before the closing tag of body.

Categories : Jquery

How to save variables to a file so that those variables are loaded the next time the site runs?
You can use local storage or even cookies. local storage is your best bet, although it doesn't work in older browsers. cookies are (more) limited in their capacity (4KB vs 5MB for local storage) and also are sent to the server with each request, which may not be what you want. Alternatively, you can store the state on your server (you'll need some server side scripting as well), and only store a user/gamer id in a cookie.

Categories : Javascript

Migrated ASP.NET application to new server
'NT AUTHORITYIUSR' is used by IIS as the account for anonymous users. This means that IIS is using passing through the authentication information to the SQL server rather than using a specified user account. In most situations you would either have specified an account to be used in the connection string or disabled anonymous access to ensure that the account passed through is a authenticated user account. It is possible to give the IUSR account permissions on the SQL Server. Try looking at this article as it may give you some assistance The error "Login failed for user 'NT AUTHORITYIUSR'" in ASP.NET and SQL Server 2008

Categories : Sql Server

How to add_index after migrated in Rail 3
Well, if all you want to do is edit the migration, and re-migrate try this: if you only need to go back one migration: rake db:rollback or if you need to step back, multiple migrations: rake db:rollback STEP=3 Then, edit your migration to add the index, and finish it off with: rake db:migrate hope that helps! :-)

Categories : Ruby On Rails

CVS to GIT migration - Not all the files and directories got migrated to git
cvs2git, of course, migrates all files from the CVS repository. Of course, not all files might exist on the master branch, for example because they were deleted in CVS sometime in history or they only ever existed on another branch/tag. But instead of trying to misuse stack overflow to get help on your own particular support problem, why don't you report your problem with a sufficient amount of information to the cvs2svn mailing list?

Categories : GIT

Migrated to logback on weblogic, but is not logging
As you have mentioned above, logger factory returns instance of log4j not logback. That means that you still have log4j on classpath. It could be directly provided and left there by mistake, or it comes as dependency to libraries you are using. If you are using maven, try to investigate EFFECTIVE POM for log4j existatnce, and exclude them. Otherwise you have to do it manually. If you will find that dependency, deleting it should do the trick. The jar you should look for is probably slf4j bridge log4j-over-slf4j. jcl-over-slf4j could be related too.

Categories : Java

Page does not load after I migrated the database from SQL CE to SQL Server
Verify that you can connect to the migrated database from within SQL Server Management Studio(SSMS). Your connection string in the web.config file needs to be correct and should look something like: <connectionStrings> <add connectionString="Server=SERVER01;Database=mydatabase;Uid=user;Pwd=password" name="somename" providerName="System.Data.SqlClient" /> </connectionStrings> After logging in through SSMS you will know what the settings should be. I hope this helps you.

Categories : SQL

Does Azure Point-to-Site or Site-to-Site VPN support cloud services?
I haven't tried personally, but you should be able to do just that by joining your cloud service to a virtual network. See this article for details on how to do this: http://convective.wordpress.com/2012/08/26/windows-azure-cloud-services-and-virtual-networks/.

Categories : Azure

'Spring.xml' IOException issues with migrated project from Eclipse to IntelliJ
Everything seems ok in your config so I checked using a small project and it appears that the problem may come from the redundant namespaces you are using in your XML headers. Try modifying the following this: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.3.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.3.xsd"> To result in something like this: <beans xmlns="http://www.springframework.o

Categories : Eclipse

Connect azure web site to on-premise database over site-to-site vpn
Azure Web Sites do not support the Azure Virtual Network (as of 8/22/2013); http://www.windowsazure.com/en-us/manage/services/web-sites/choose-web-app-service/ You will need to create a cloud service deployment instead if you would like to use Virtual Network and access the on-premises database. Once that is done and your firewall is properly configured, it is like you say just a connection string.

Categories : Database

Do any standards and practices exist for applying acceptance test driven development to non-development tasks?
Take a look at this post in StackExchange: Agile methodologies such as Scrum in non-software development projects Also there is a nice article called "Scrum is not just for software" written by the Agile Alliance (note that this is a PDF download)

Categories : Misc

LNK2001: unresolved external symbol mainCRTStartup - Visual Studio 2010 - IDL project migrated from VC++
Try following: go to the file's properties and tell VC++ that it was indeed to be included when building the project Create a new project following these steps: When you start the new project wizard, click Win32 Console Application, enter a project name, click OK, then on the next screen click "Application Settings", then "Console application" and "Empty project". That gives you a completely empty project, so click on Project/Add New Item/C++ File, enter a filename for your main file, and that will open an empty .cpp file. Now type (or paste in) your code.

Categories : C++

Facebook Comments - Migrated to new wordpress installation and lost all comments
Try this : <fb:like href="http://[domain_name]/[old_path]" ></fb:like> In your case: <fb:like href="http://garotasgeeks.com/wordpress" ></fb:like>

Categories : Facebook

Python: Even after an if runs, the else still runs as well
Some errors I see (my apologies if they're already in your code): Your variable target_card only holds the value of the card, not the suit. You may need to parse the full card in two, since those include both a suit and a value That's not a proper use of the del command; you don't need to set it equal to anything or test for an equality. It would also be helpful to post what errors you got, to help us troubleshoot. Also, I don't think this is how Go Fish is played..

Categories : Python

import google spreadsheet to site page and apply site styles to a table tag
My guess was right, this code working — spreadsheet inserting «one in one» and can apply different style: <script> $(document).ready(function() { $('#result').load('-google spreadsheet html import link- #tblMain'); }); </script> All much easier than I expected:)

Categories : Jquery

Subdomain Points to Subfolder and need .Htaccess to Redirect to a Wordpress Multi-Site Sub-Site
Well, depending on your provider, you can point your subdomain towards the same directory of your top level domain, i.e.: example.com -> /public_html/ this.example.com -> /public_html/ But your question is not clear about what you are trying to do. Is it a subdomains network or is it a subfolders network? If subdomains, try to change the directory your subdomain points to as in the example above, and create the blog inside wp-admin/network/ If subfolders, then you don't need the subdomain, unless you really want to redirect it to a subfolder just like an easier to remember shortcut, in that case you don't need a RewriteRule, WP takes care of the virtual subfolder.

Categories : Wordpress

Unauthorized Access when running `azure site log tail` for a recreated site
Since the website was created by another person, I suggest you reset its credentials. Open the Windows Azure Management Portal. Go to the website's dashboard. Click on "Reset your deployment credentials" and reset the username and password. Click on "Reset your publish profile credentials". Click on "Download the publish profile" and configure the command-line tools with the new profile, username and password.

Categories : Node Js

PostgreSQL: Full text search multitenant site, plus only parts of site
The normal approach would be to create: one full text index: CREATE INDEX idx1 ON dw1_posts USING gin(to_tsvector('english', approved_text)); a simple index on the site_id: CREATE INDEX idx2 on dw1_posts(page_id); another simple index on the page_id: CREATE INDEX idx3 on dw1_posts(site_id); Then it's the SQL planner's business to decide which ones to use if any, and in what order depending on the queries and the distribution of values in the columns. There is no point in trying to outsmart the planner before you've actually witnessed slow queries.

Categories : Postgresql

how to add error document for local site (where index is not in doc root) and live site both in one .htaccess file
In a single htaccess, you can't do this since it works identical to a <Directory> container. Additionally, the ErrorDocument directive doesn't have and conditionals. What you need to do is create a second htaccess file with only an error document directive, which will override the one declared in the document root. Everything else in the document root's htaccess file should still apply.

Categories : Apache

Accessing .ASPX page on password protected site from within same site
If you want you can remove authentication for just one page as follows. <location path="mypage.aspx"> <system.web> <authorization> <allow users="*"/> </authorization> </system.web> </location>

Categories : Asp Net

redirect users from desktop site to mobile site based on URL
I think I understand what you are saying: // Make a mobile detect object $detect = new Mobile_Detect(); // Check the device if($detect->isMobile()){ // Here is where you put the page you have // i.e. http://desktopsite.com/specific-page; $location = "http://desktopsite.com/specific-page;"; // We need to swap the url in that $location variable $location = str_replace("http://desktopsite","http://m.mobilesite",$location); // Then to a classic redirect header("Location: {$location}"); }

Categories : PHP

how to better link some sharepoint site(live site) using camelop php tools
It seems as if you made all necessary steps, there is a new guide available here http://www.bendsoft.com/documentation/camelot-php-tools/2_0/installation/ The steps are as follows Install the .NET Connector Install and configure the Integration Toolkit Test with PHP Tools What most users forget is to restart the Camelot SharePoint Integration Service in services.msc after changing it's setup. You can also have a look at this youtube movie, the first two minutes should cover this, http://www.youtube.com/watch?v=mDtvcTnTbeM If this doesn't resolve your issues contact the support of Bendsoft, support@bendsoft.com and someone will help you!

Categories : PHP

CodeIgniter backend site to extend to support frontend site
I will suggest this link for complete solition http://philsturgeon.co.uk/blog/2009/07/Create-an-Admin-panel-with-CodeIgniter On this site 3 methods are given choose which fits your requirements

Categories : PHP

Redirect loop in full site to mobile site using session
From what I could get from github page you should be able to make it work like this: index.php session_start(); if ($_GET['fullscreen'] == 'yes') { $_SESSION['fullscreen'] = 1; } else if ($_GET['fullscreen'] == 'no') { $_SESSION['fullscreen'] = 0; } if (false == isset($_SESSION['fullscreen']) && ($_SESSION['fullscreen'] == 0)) { // If session['fullscreen'] has not been set (maybe first visit // or the user does not what in fullscree // check the device and do redirect require_once 'Mobile_Detect.php'; $detect = new Mobile_Detect(); // Any mobile device (phones or tablets). if ( $detect->isMobile() ) { } ... } // Other code here When visiting from mobile, if the user wants the full version, provide an anchor to url with GET pa

Categories : PHP

site will not redirect to custome page and throw 404 error in asp.net site
You may need to look into Handlers in your web.config . http://msdn.microsoft.com/en-us/library/46c5ddfy(v=vs.100).aspx

Categories : C#

Load Login site instead of the default controller site when no session is set
Try this: class My_Controller extends CI_Controller{ public function __construct() { parent::__construct(); if ( !$this->session->userdata('username') ) { //$this->load->view('login_view'); redirect('My_Controller/login', 'refresh'); } } public function login(){ #load the view here $this->load->view('login_view'); } }

Categories : Codeigniter

.htaccess if subdomain show www.site.com/subs/. no redirect url must bu sub.site.com
Try adding these rules to the htaccess file in your document root: RewriteEngine On RewriteCond %{HTTP_HOST} ^sub.site.com$ [NC] RewriteCond %{DOCUMENT_ROOT}/sub%{REQUEST_URI} -f [OR] RewriteCond %{DOCUMENT_ROOT}/sub%{REQUEST_URI} -d RewriteRule ^(.*)$ /sub/$1 [L]

Categories : Apache

sending post/get request to another site without leaving current site
use simplexml_load_file <?php $xml = simplexml_load_file($your url); print_r($xml); ?> simply you got a array response.

Categories : PHP

Is Puppet the right tool for pull-deploying .NET site from TFS with site shut down
For the client infrastructure, I'd shrink-wrap the product with a Windows Installer MSI. The TFS cloud build sever has Windows Installer XML on it and you can use that to build your installer. Deliver the installer to the client and have it do all the work. Just like downloading TFS from MSDN and installing it on an on premises server. You can also publish the MSI on a website and use an autoupdate pattern running on the client to pull it down and execute it.

Categories : Dotnet

How can I share a created google maps in my site to another site
That's a pretty open question. Before all, you and your friend should use the same app or at least agree on certain comventions. For example - the map will be a json with properties such as latn lng and zoom. - Another properties should yield strings, integers, floats, arrays and objects - among objects, there could be some mcarrays, circles, polygons, etc. All of them have a map property that would throw a circular reference if you try to stringify the map. There are a lot of other comventions to make in order to be able to flatten the map to make it stringifiable, and on the other side, the equivalent to rebuild the map.

Categories : Jquery

Media query to turn site into mobile site
This has nothing to do with the zoom, but with the current width of the window, ( At least in your examples, the same happens when you change your browser's window to a smaller size ) they are most likely using CSS media queries to apply conditional styles depending on the width. Sample ( from first google result http://css-tricks.com/css-media-queries/ ) @media all and (max-width: 699px) and (min-width: 520px), (min-width: 1151px) { body { background: #ccc; } }

Categories : CSS

Does Strawberry Perl still wipe out /site/lib and /site/bin contents?
I would just rename C:strawberry to C:strawberry-old before installing the new version. Chances are you could just copy modules from the old installation to the new one (not forgetting to look for bits in the "auto" directories). That said, I would probably just reinstall everything from CPAN anyway to get the latest versions. It helps if you have a .bat file that automates this for your favourite additions.

Categories : Perl

Megento dev site re-directing to live site URL
Do the below steps in your development server : 1) Check the development server database hostname,username, password in your config.xml file in below path : app/etc/. 2) Open your live server database in any editor and find the live site url entirely. and replace with your development server url with searched result. above two steps will solve your issues. here after it will now solve. 3) Check your .htaccess file in your root folder to check the any redirection rule.

Categories : Magento

How does IE determine whether a site is an internet or an intranet site?
You can look in File -> Properties. Press Alt to display the menu bar if it's not there. There you can see "Local intranet" or "Internet".

Categories : Internet Explorer

CSS Animation works on one site but not personal site
CodePen uses -prefix-free, which is adding the required prefixed properties for this to work in Chrome. You need this CSS: .loader .dot_1 { margin-right: 10px; -webkit-animation: loading 4s ease-in-out infinite; animation: loading 4s ease-in-out infinite; } .loader .dot_2 { -webkit-animation: loading 4s ease-in-out .3s infinite; animation: loading 4s ease-in-out .3s infinite; } .loader .dot_3 { -webkit-animation: loading 4s ease-in-out .6s infinite; animation: loading 4s ease-in-out .6s infinite; } @-webkit-keyframes loading { from { margin-left: 50%; opacity: 0; } 50% { margin-left: 0; opacity: 1; } to { margin-left: -50%; opacity: 0; } } @keyframes loading { f

Categories : CSS

Mod Rewrite Rule for site map.xml on an ExpressionEngine site
Try this code: Options +FollowSymLinks -MultiViews RewriteEngine On RewriteCond %{HTTP_HOST} !^www. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [NC,R=301,L] RewriteRule ^sitemap.xml/?$ index.php/sitemap/ [NC,L] RewriteCond $1 !^(favicon.ico|robots.txt|index.php|sitemap.xml) [NC] RewriteCond %{REQUEST_METHOD} !=POST [NC] RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d [NC] RewriteRule ^(.+[^/])$ /$1/ [NC,R=301,L] RewriteCond $1 !^(admin|assets|uploads|favicon.ico|robots.txt|index.php|sitemap.xml) [NC] RewriteCond %{REQUEST_FILENAME} !-f [NC] RewriteCond %{REQUEST_FILENAME} !-d [NC] RewriteRule ^(.*)$ index.php?/$1 [NC,L]

Categories : Apache



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.