Forum in maintenance, we will back soon 🙂
Notifications
Clear all
Search result for: oops something went wrong
# | Post Title | Result Info | Date | User | Forum |
RE: Error Encountered While Trying to Use AI Content Creation Tool | 4 Relevance | 5 months ago | SSAdvisor | Online Tools Development | |
@dassa 45 MINUTES?! If your response isn't within a couple of minutes (actually I wanted to say seconds) then something is wrong. Are you using the pro plan? | |||||
RE: Implementing Youtube-Title-Generator-WP-UI in my AI tools. | 4 Relevance | 7 months ago | dibyendu | Online Tools Development | |
Hi, I configured. There's something wrong in my php code. Any way thanks for prompt response. | |||||
RE: WP Code keeps breaking my website | 4 Relevance | 4 weeks ago | monstah marketing | WordPress | |
@husein Hi, when my website got broken there was not way to access my site. I had was to ssh using filezilla and remove the plugin for my site to work again. I even went on the wordpress plugin store to download it from there and had the same results. The funny thing is the plugin works fine on my other website. | |||||
RE: Problems with Make.com workflow | 4 Relevance | 3 months ago | Daniel | Marketing Automation | |
@ssadvisor Hi That's what I did I went to change as you told me, I show it in the video, and in this last message I have shown it from scratch again, but it still doesn't work. Thanks for the attention and help. | |||||
RE: How to Create AI Tools in WordPress in 5 Minutes ? | 7 Relevance | 1 year ago | Michael B | Online Tools Development | |
@admin Snippet Code "Property Tour Generator Assistant" function openai_generate_text() { // Get the topic from the AJAX request $prompt = $_POST['prompt']; // OpenAI API URL and key $api_url = 'https://api.openai.com/v1/chat/completions'; $api_key = 'sk- ------------------------'; // Replace with your actual OpenAI API key // Headers for the OpenAI API $headers = [ 'Content-Type' => 'application/json', 'Authorization' => 'Bearer ' . $api_key ]; // Body for the OpenAI API $body = [ 'model' => 'gpt-3.5-turbo', 'messages' => [['role' => 'user', 'content' => $prompt]], 'temperature' => 0.7 ]; // Args for the WordPress HTTP API $args = [ 'method' => 'POST', 'headers' => $headers, 'body' => json_encode($body), 'timeout' => 120 ]; // Send the request $response = wp_remote_request($api_url, $args); // Handle the response if (is_wp_error($response)) { $error_message = $response->get_error_message(); wp_send_json_error("Something went wrong: $error_message"); } else { $body = wp_remote_retrieve_body($response); $data = json_decode($body, true); if (json_last_error() !== JSON_ERROR_NONE) { wp_send_json_error('Invalid JSON in API response'); } elseif (!isset($data['choices'])) { wp_send_json_error('API request failed. Response: ' . $body); } else { wp_send_json_success($data); } } // Always die in functions echoing AJAX content wp_die(); } add_action('wp_ajax_openai_generate_text', 'openai_generate_text'); add_action('wp_ajax_nopriv_openai_generate_text', 'openai_generate_text'); Tour Assistant Tool on my WordPress website <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Property Tour Generator Assistant</title> <style> /* Your existing styles here */ /* Style for the generate button */ #generate-button { background-color: #004aad; color: white; padding: 10px 20px; border: none; cursor: pointer; transition: background-color 0.3s; } #generate-button:hover { background-color: #22a2e3; } /* Spinning faces loader style */ #loading { display: inline-block; font-size: 24px; animation: spin 1s linear infinite; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } </style> </head> <body> <div id="text-generation-tool"> <input type="text" id="agent-name" placeholder="Agent Name and Company"> <input type="text" id="city-neighborhood" placeholder="City/Neighborhood"> <input type="text" id="property-address" placeholder="Property Address"> <textarea id="features-designs" placeholder="Features and Designs"></textarea> <button id="generate-button">Generate 🏡 Description</button> <div id="loading" class="loader" style="display: none;">🎭</div> <!-- Spinning masks icon --> <div id="result-container" style="display: none;"> <div class="result-wrapper"> <div class="result-content"> <textarea id="result" readonly></textarea> </div> <div class="copy-button-container"> <button id="copy-button">Copy</button> </div> </div> </div> </div> <script> const generateButton = document.getElementById("generate-button"); const loading = document.getElementById('loading'); const result = document.getElementById('result'); const resultC = document.getElementById('result-container'); generateButton.addEventListener("click", async function(e) { e.preventDefault(); if (generateButton.disabled) { return; } generateButton.disabled = true; loading.style.display = 'block'; result.style.display = 'none'; resultC.style.display = 'none'; const agentName = document.getElementById('agent-name').value; const cityNeighborhood = document.getElementById('city-neighborhood').value; const propertyAddress = document.getElementById('property-address').value; const featuresDesigns = document.getElementById('features-designs').value; const inputText = `${agentName} ${cityNeighborhood} ${propertyAddress} ${featuresDesigns}`; try { const response = await fetch('/your-api-endpoint', { // Replace with your actual API endpoint method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ prompt: inputText }) }); const data = await response.json(); if (data.success) { result.value = data.data.choices[0].message.content; } else { result.value = 'An error occurred: ' + data.data; } } catch (error) { result.value = 'An error occurred: ' + error.message; } finally { loading.style.display = 'none'; result.style.display = 'block'; resultC.style.display = 'block'; generateButton.disabled = false; } }); const copyButton = document.getElementById('copy-button'); copyButton.addEventListener('click', function() { result.select(); document.execCommand('copy'); alert('Copied to clipboard!'); }); </script> </body> </html> | |||||
following YouTube video | 4 Relevance | 2 weeks ago | William | Python Scripting | |
my name is Russ, I followed one of the videos on YouTube and it is possible I may have missed something. But here is what happens for me streamlit loads up in the browser just fine and seems to be working, but when I put in the keyword and press start i get the following error, and this is with none of the boxes on the left checked for api use can you help me? I am running Win.10 with latest python update thanks. Also if this is the wrong area to post this please let me know 🙂 Russ You can now view your Streamlit app in your browser. Local URL: Network URL: Failed after 3 attempts due to: Connection error.Failed after 3 attempts due to: Connection error.Failed after 3 attempts due to: Connection error.Failed after 3 attempts due to: Connection error.2024-09-09 15:00:34.809 Uncaught app exceptionTraceback (most recent call last):File "C:\Users\major\OneDrive\Keyword-Research-Graph-main\venv\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 589, in _run_scriptexec(code, module.__dict__)File "C:\Users\major\OneDrive\Keyword-Research-Graph-main\ui.py", line 157, in <module>main()File "C:\Users\major\OneDrive\Keyword-Research-Graph-main\ui.py", line 127, in mainst.session_state.nodes, st.session_state.edges = generate_subtopics_tree(^^^^^^^^^^^^^^^^^^^^^^^^File "C:\Users\major\OneDrive\Keyword-Research-Graph-main\ui.py", line 27, in generate_subtopics_treesubtopics = get_topic_children(topic,child_topics_count)^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "C:\Users\major\OneDrive\Keyword-Research-Graph-main\helpers.py", line 49, in get_topic_childrenreturn response.sub_topics^^^^^^^^^^^^^^^^^^^AttributeError: 'str' object has no attribute 'sub_topics' | |||||
RE: AI Chatbot on WordPress in 5 Minutes doesn't work for me | 4 Relevance | 5 months ago | CLARK DJILO | WordPress | |
Hello Hassan There is a bug on the bot. I installed the bot on my home page where I have my products When I installed the bot, everything went well on the desktop version but on the mobile version I am not more able to reach to my products from my homepage When I click, nothing happen , it is like the bot doesnt allow to acced to the products You can test this on the mobile version of your webite where your bot is installed Can you fix this please ? | |||||
RE: Story Generator | 4 Relevance | 5 months ago | Robert | WordPress | |
@husein I have tried. 40 years ago I used to write html. I went to college to try to write programs like using fortran and cobal but could never figure them out. For the first time in my life I am beggining to understand a bit with what you folks taught with Python - it is the first time in my life I have ever understood programming at all - THANK you. HTML I have not done in so long, I have forgotten most and of course all the changes but I am working on it and will also start learning css and javascript or at least try. Thank you for what I have learned so far. | |||||
Story Generator | 4 Relevance | 5 months ago | Robert | WordPress | |
I am so excited by what Hasan has done for us - amazing. I did the Story Generator and decided to customize it. I got it so it now writes in various lengths(though i cannot figure out how it went from writing 3 sentences to 3 words??? Anyway, I wanted to be able to post the results to one or more post categories and/or get a shortcode. I have tried and tried using chatgpt and I cannot figure it out, any ideas??? | |||||
RE: Create Free AI Tools With WordPress and Gemini in 3 Minutes | 4 Relevance | 5 months ago | bibi | Online Tools Development | |
@ssadvisor thank you for pointing to that I went and tried to make it active and click update but it goes back to not active status I got this message Snippet not activated, the following error was encountered: Unclosed '[' on line 121 what could be the problem? | |||||
RE: my_module not accessed Pylance | 4 Relevance | 1 year ago | Jacqueline Rogers | Python Scripting | |
@ssadvisor Hello, I went back over my steps and found the error. The syntax is everything! | |||||
AutoGPT Issues in the script | 4 Relevance | 1 year ago | Jonatan Saraiva | Prompt Engineering | |
Attachment : Capture.PNG I went through the course. I created a topic here and it disappeared. I never got a response. The autogpt script is not working for me and I have no idea what the issue could be. | |||||
building a business vidoes | 4 Relevance | 1 year ago | ian | Online Business Strategies | |
Has anyone went through the videos from A-Z? Would like to know how things are going since it's from 2021. is it still relevant or no one reads blog contents anymore? Btw, I joined Telegram but there's no way to type and have a conversation with members. Advise? | |||||
RE: Python Script crashes | 4 Relevance | 1 year ago | Aerostan | Python Scripting | |
@admin - I went back into the original folder and the only PDF was the one with the cost estimates via ChatGPT. Where else should I be looking? | |||||
RE: Create tool with Gemini and WordPress | 4 Relevance | 4 weeks ago | Husein Aboul Hasan | Online Tools Development | |
@asifa-b You can't have the same exact response every time since the LLM generates something every time, not based on a format or something. However, if you have a format of the output in mind, you can add a ##Output section in your prompt directing the LLM to a specific format. | |||||
RE: Create Free AI Tools With WordPress and Gemini in 3 Minutes is not working for me | 3 Relevance | 1 day ago | Shahzad Khan | WordPress | |
Hi Hassan Still throwing 400. Not sure what is the issue? I am using the same code provided by u. Can u guide what is wrong on my side?The code is perfectly working in SimplerLLM project with the same API, but here is throwing 400 Attachment : 1.png | |||||
RE: Prompt for Solving Mathematical Equations | 3 Relevance | 4 weeks ago | Husein Aboul Hasan | Prompt Engineering | |
@mathros I couldn't find any of the prompts right now, but as a general idea in every prompt, I explained the chapter thoroughly and what I'll be asking about. Then, before asking each question, I give a sample question answer where the answer was correct. This wasn't the most efficient way to do it, but that's why I did it at that time. I tried it on 15 questions, and it only gave me one wrong answer. | |||||
RE: Simplerllm install error | 3 Relevance | 2 months ago | Tony P. | Python Scripting | |
@husein I am having issues with the install. When I follow the steps this is the message I am getting. not sure what I've done wrong. Attachment : Screen Shot 2024-08-11 at 9.14.53 PM.png | |||||
RE: Create Free AI Tools With WordPress and Gemini in 3 Minutes | 4 Relevance | 5 months ago | bibi | Online Tools Development | |
HOW TO BE SURE OF THE PATH TO THE OBJECTS? i sent already the code above please see if there is a problem with the path I just went back to the code snippet and updated my new API key and deleted the page and created a new one and changed all the URLs to my own domain and replaced HTTP by https and still got the same error please help! this is what the issues in the developer tools ; Failed to load resource: the server responded with a status of 404 ()jquery-migrate.min.js?ver=3.4.1:2 JQMIGRATE: Migrate is installed, version 3.4.1frontend.min.js?ver=3.7.7:2 Uncaught TypeError: Cannot read properties of undefined (reading 'handlers')at 3515 (frontend.min.js?ver=3.7.7:2:1892)at __webpack_require__ (webpack-pro.runtime.min.js?ver=3.7.7:2:149)at 4774 (frontend.min.js?ver=3.7.7:2:1546)at __webpack_require__ (webpack-pro.runtime.min.js?ver=3.7.7:2:149)at 2 (frontend.min.js?ver=3.7.7:2:137)at __webpack_require__ (webpack-pro.runtime.min.js?ver=3.7.7:2:149)at frontend.min.js?ver=3.7.7:2:21363at webpackJsonpCallback (webpack-pro.runtime.min.js?ver=3.7.7:2:4826)at frontend.min.js?ver=3.7.7:2:69jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'tools') TypeError: Cannot read properties of undefined (reading 'tools')at Frontend.initOnReadyComponents ( at Frontend.init ( at HTMLDocument.<anonymous> ( at e ( at t ( undefinedce.Deferred.exceptionHook @ jquery.min.js?ver=3.7.1:2jquery.min.js?ver=3.7.1:2 Uncaught TypeError: Cannot read properties of undefined (reading 'tools')at Frontend.initOnReadyComponents (frontend.min.js?ver=3.21.3:2:7026)at Frontend.init (frontend.min.js?ver=3.21.3:2:9143)at HTMLDocument.<anonymous> (frontend.min.js?ver=3.21.3:2:9369)at e (jquery.min.js?ver=3.7.1:2:27028)at t (jquery.min.js?ver=3.7.1:2:27330)/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 400 ()blog-title-generator/?preview_id=3635&preview_nonce=fbca5a1920&preview=true:570 Failed to fetch titles(anonymous) @ blog-title-generator/?preview_id=3635&preview_nonce=fbca5a1920&preview=true:570loading.webp:1 Failed to load resource: the server responded with a status of 404 ()error_image.png:1 Failed to load resource: the server responded with a status of 404 ()/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 400 ()blog-title-generator/?preview_id=3635&preview_nonce=fbca5a1920&preview=true:570 Failed to fetch titles(anonymous) @ blog-title-generator/?preview_id=3635&preview_nonce=fbca5a1920&preview=true:570loading.webp:1 Failed to load resource: the server responded with a status of 404 ()/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 400 ()blog-title-generator/?preview_id=3635&preview_nonce=fbca5a1920&preview=true:570 Failed to fetch titles(anonymous) @ blog-title-generator/?preview_id=3635&preview_nonce=fbca5a1920&preview=true:570error_image.png:1 Failed to load resource: the server responded with a status of 404 ()contentScript.js:1 P Received SHOW_SIDEBAR_APP action in content script | |||||
RE: Earthquake and Python | 4 Relevance | 1 year ago | Anonymous 158 | Python Scripting | |
Okay. I'm a little confused and I think I may have messed things up. I had a previous version of Python installed but I went ahead and installed the one you recommended. Previously I had used pycharm when interacting with python. When trying to load the api using the method you recommend all I would get is a black screen for a second that would disappear before I could load the api. I also tried opening a command prompt and loading it. When hitting enter after typing python, inserting a space and pasting the address to the location I have ai.py stored at it would just go back to a prompt. I got the bright idea of going through pycharm to load the api, which I did. Then I opened the batch file by double clicking on it (I don't think it is possible to open it through Pycharm). I entered the topic chatgpt tricks. Tweets and content ideas were generated in a couple instances and then it gets to a point which I have taken a screenshot of and attached. I am told to click on any button to continue and when I do, the screen disappears, without providing the pdf or anything further. Attachment : Screenshot (127).png One more quick question, should I uninstall previous versions of Python? Thanks, Steve |
Forum Information
Our newest member: Sathishkannamass
Latest Post: problems with make
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed