Jump to content

dil_bert

Members
  • Posts

    939
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by dil_bert

  1. dear experts, dear user, currently working on a setup of a wordpress with theme twentyseventeen the question is: how to add the featured image to a page !? see the screen: <img src="https://imgur.com/oMfAl76"/> look forward to hear from you regards say
  2. update: found some ideas about the debug-mode: 1. go to the file config/production/config.yml 2. add the following stuff parameters: debug.load_time: true debug.sql_explain: true debug.memory: true debug.show_errors: true debug.exceptions: true imports: - { resource: ../default/config.yml } parameters: debug.load_time: true debug.sql_explain: true debug.memory: true debug.show_errors: true debug.exceptions: true
  3. hello dear all, how to debug the phpBB-forum software: i allways get 500 error tried to do a fresh install of phpBB on php version 7.4.2 got the error SPL support enabled Interfaces OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException now the admin of the server downgraded to php 7.2.8 note: i did not have installed the phpBB there a phpBB version 3.3 is on the server. But - yes: it is not installed yet! at the moment i get a 500 error how to debug phpbb!? are there any ways and methods to get more insights what is going on on the server!?
  4. hello dear Experts on PHPFreaks - dear Freaks, well - while upgrading php from version 5.6 to 7.4.2 i get a critical error on the wp-site: and i get linked to the page https://wordpress.org/support/article/debugging-in-wordpress/ where i learn_; WP_DEBUG # WP_DEBUG It is not recommended to use WP_DEBUG or the other debug tools on live sites; they are meant for local testing and staging installs.
  5. hello dear friends, i am a big big fan of this great site: but unfortunatly we cannot upload attachments with calc formate - what a pity what can we do here!`?
  6. Hello dear Isabellwilliiams and hello dear dip7 many many thanks for the reply and all your tipps and the shared insights. I am happy to hear from you. I will follow your advices and will do all you mention. The SSL-Ideas were very interesting and i like them. And also the htaccess-things. I will digg deeper into these techniques. Again - many thanks for all you do have a great weekend cheers dil_bert
  7. Dear Barand first of all; many many thanks for the quick reply - now i managed to go ahead some steps. In other words: i was able to import the data. The issue: i had a worng data-sheme. in other words: i generated the data set out of a csv-file that was indicating the date-formate as a "text" data-set and not a real and valid date-field. so i run into issues and trouble. finally got there: now it works. i am very happy. have a great day
  8. good day dear Barand, well first of all - many many thanks for all your help: the results of the import look like not so good. see them here: https://imgur.com/a/9653POx https://imgur.com/QuqfAlO https://imgur.com/EWsoncO https://imgur.com/lYelymb well - i want to have displayed the text at once. - is this doable - in other words am i able to add the text to the google-calendar in that way!?
  9. Dear Barand first of all; many many thanks for the quick reply - now i managed to go ahead some steps. In other words: i was able to import the data. But now i want to export the data from Base to a calc sheet. This is not working as expected. in fact: i cannot export the data. about the dataset: there are 365 lines of data - i want to export them to a calc sheet - but at the moment i do not manage to do this step.
  10. hello dear experts, on my root-server i struggle with some issues on webmin: they can be described as so: overview on the created vhosts lack some servers that are up and running here some data: Apache Webserver The issue : i have some vhosts that run - and which created domains are available over http: but they are not visible in the vhost-overview?! why is this so!? by the way: see the following thread https://www.virtualmin.com/node/45327 Re-check configuration throws an Apache virtual host was not found: You can discover which domain is missing it's Apache virtual host by SSHing in as root and running : futhermore: see the following thread: https://www.virtualmin.com/node/5878 When i add a new virtual server i receive the following error`: Adding Apache user apache to server's group .. .. done` Apache website failed! : Undefined subroutine &main::save_domain_ruby_mode called at `/usr/libexec/webmin/virtual-server/feature-web.pl line 1856.` when i check apache, the virtualhost is created and running, but when managing the virtual server "Web virtual server enabled?" is not checked. When i try to delete the server, everything is removed with exception of the the apache virtualhost. The above error prevents virtualmin from "remembering" that the virtualhost exists. added the following stuff: Now its complaining that httpd is not running. Applying web server configuration .... not running! anwer: Have you started apache? Maybe your stopped it for some reason and forgot to start it again. well this seems to be an annoying bug - and i have encountered this malfunction and bad behaviour several times in the past years. conclusio: any idea how to fix it!? How would you proceeed. Note i have no console- or terminal-access to the server. any idea how to fix this malfunction - or how to proceed !? Should i stop and start the Apache !?! Do you think that this may help ? look forward to any and all help
  11. hello dear friends - i mused bout the update &/ upgrade-process in MX-Linux. and i guess that we can say: *"full upgrade" is the full equivalent to "apt-get dist-upgrade"* taken from here: https://forum.mxlinux.org/viewtopic.php?t=45813 "full upgrade" is equivalent to "apt-get dist-upgrade". well - conclusio: i take the above mentioned process on commandline - and run it... - then all packages will update...
  12. Hello dear all i am running MX-Linux on a lenovo notebook. yesterday i recognized that the brightness is to low - how can i customize and solve this issue. how to change the settings: should i go like so: https://forum.mxlinux.org/viewtopic.php?t=41893 xbacklight -set 70 or should i go like so: Brightness: acpi_video0 & intel_backlight https://forum.mxlinux.org/viewtopic.php?t=47809
  13. hello dear all freaks after having recognized that the brightness of my notebook could be at a higher level - i tried this root@mx:/home/martin# xbacklight -set 70 bash: xbacklight: Kommando nicht gefunden. root@mx:/home/martin# xbacklight -set 70 bash: xbacklight: Kommando nicht gefunden. root@mx:/home/martin# so far so good - now i installed the package - taken from the repos, besides this - i found out that i can update the repos - see the image well the question:- did i manage to that i can update the repos - see the image i am not sure if i updated all the repos so far... look forward to hear from you
  14. dear Barand i have to do a import of a calc-based-dataset (365 lines of data) into a libreoffice db i get the above mentioned error all the time - this nearly drives me nuts i have struggled with the dataset for more than a whole week i try to do some uploads into cloud and give you link to the issued sheets. at the moment i think that i have tried out nearly everything that is possible - thinkable. see the database - a engine that is capable to translate the 7956 verses of the Novum Testamentum into several (at the moment three) languages ancient greek english french ... all based on the German base - and the yearly new edition of quotes - (that are published here https://www.losungen.de/download/ there fore i have to add the calc seeht /(see the little imabe above ) to the table in the db - called GERMAN_VERSES - see the db: NT-Verses-D-EN.odb see the table __Losungen__2020__.ods that has to be imported in the table GERMAN_VERSES this step allways fails - i do not know why... i allways and ever get the above mentioned error... dear Barand again many thanks for the quick reply,.... btw: (i hoped that i get a reply from you - since you are a true db-expert
  15. hello while trying to import data to a hsqldb table i allways get errors. die data-exception: question - should i change from 08.12.2020 09.12.2020 10.12.2020 to: 20020-12-08 20020-09-08 20020-10-08 see also: https://stackoverflow.com/questions/39817149/hsqldb-invalid-datetime-format-for-dd-mm-yyyy-but-not-for-yyyy-mm-dd?rq=1 question: Can someone please tell me what is wrong? answer: The answer is simply that HSQLDB will only accept string literals for dates if they follow the 'yyyy-mm-dd' format. It is willing to be helpful – to a point – in that it will allow us to omit the DATE keyword from a "proper" HSQLDB date literal value DATE '2016-01-02' and let us simply provide '2016-01-02' but it will not accept '01/02/2016' (which is ambiguous, anyway) or any of the many other ways that we silly humans can represent dates. look forward to hear from you best regarsd
  16. hello dear Freaks, good day, finding out the best way to bookmark links and websites - which tool do you use!? Consider the following case-scenario: you sit in front of your notebook and you just stumbled across an exciting article you really want to read, unfortunatly you have no time at all at the moment; you have a bunch of work that need to be done before you can sit down and read it. What can you do? - leave the text open in your browser. - email the the URL-link to yourself, but - use the toolset of your browser to bookmark the site... or ...- skip the text question: is there a more convenient and easy-to-read way. i have seen some of the following tools and toolsets: - Evernote Web Clipper - Trello - Bitly - Pocket - Pinterest and besides the above mentioned i have had a quick view on Digg and Mix and even to Reddit and others more. I would choose a easy to use one. Question: is there a google-tool also available. At the moment i use the bookmark tool in Chrome. which do you use!? look forward to hear from you regards, dil_bert
  17. hello dear NotSunfighter, many thanks for the quick answer. I am very glad to hear from you. Thanks for helping out here. I will try out this - it looks very convincing. again - many thanks!!! Have a great day. greetings dil_bert
  18. hello dear experts, good day dear buddies on PHPFreaks - good day - happy seasons-greetings to all of you - and a merry xmas. btw: it would be great if we have a special wordpress-forum here. This would be great the topic of today - Width on mega menu dropdown - how to achieve that... i am currently working on the customizing of the menubar of max-mega-menu. what is aimed: i want to take a whole row in the theme twentyseventeen: preliminiaries: - I wanted the menubar to be between the logo and the center of the theme. ? my approach: I add this CSS: to I have tried out this out - the above mentioned code - but i am not very happy with it. i hoped that the above mentioned code solved the problem. But the Mega menu is extremly small on both desktop and mobile view now. I would like the dropmenu is getting the max width. But I cannot figure out where to set the width? again - what is aimed: I am trying to make the mega menu occupied the full page width from the far left to the far right. I have almost tried everything that i can thing about. if the container that is dictating the width of the Mega Menu. i guess that i need to make it separate from its parent div. i am trying to add this theme's custom CSS or child theme CSS @media (min-width: 1200px) /* i might have to add the code for other screen sizes too depending on the mentioned theme */ .sf-menu .megamenu .megamenu_wrap { position: fixed; z-index: 999; width: 100%; margin-top: 30px; } @media (min-width: 992px) /* i might have to add the code for other screen sizes too depending on the theme */ .sf-menu .megamenu .megamenu_wrap { left: 0; } /* i think that i have to use !important where necessary if the changes do not reflect on the site. Refrain from using it unless absolutely necessary. */ i think that i should test the code above on a test site using Inspect in Chrome - the developer-toolset. i want to edit child theme or custom CSS box provided in the theme - since it is not clever to do the changes in the core theme. again - happy seasons-greetings to all of you - and a merry xmas.
  19. hello dear all, want to install mx-linux on a notebook with intel i3 3110M CPU 2,4 ghz ? here the full dataset: fujitsu livebook 520 intel i3 3110M CPU 2,4 ghz RAM 4 GB 32 bit is this doable!?
  20. hello dear all, good day dear php-freaks, i want to rssify content from another website into my wordpress-page: see the source: https://europa.eu/youth/volunteering/project_en well - is it possible to do this? of course - i have to ask bout the permission at the site of source. but the technical site is also interesting :do you think that this is doable!? note: i only am interested in the summary of the data - that is only a little piece of text.
  21. hi many thanks for the quick reply. well - with rss i can see (from remote) what is going on with a. my thread or some sub-forums the one and only factor is - a "internet" factor - being far away - but close -(through RSS) - anyway - thanks for the reply. greetings
  22. hello dear all, can i rssify the postings here that i post on this board!? is this possible!?
  23. hello dear freaks probably the Apache-supforum fits most here - for this setup-question. I'm currently working on a setup of a server to host multiple websites on a single IP. Note: i am on openSuse and Webmin. configurations and setup: i have installed Webmin on an OpenSuse-server. I created the directory /var/www/sites/my_testsite. Then I created a virtual host under Webmin->Servers->Apache Webserver with the following settings: Address: Any Port: 80 Document Root: /var/www/sites/my_testsite Server Name: my_testsite.com Address: Any Port: 80 Document Root: /var/www/sites/my_testsite Server Name: my_testsite.com Then, to test it, I edited the hosts file on my local machine and added [my.server.ip.address] my_testsite.com. Then went to my_testsite.com in my browser and encountered a issue: the problem i encountered: the browser is loading the default site (at /var/www) instead of the virtual one I just have been creating (I verfied this by adding different index.html files in /var/www and /var/www/sites/my_testsite). Well i muse what goes wrong here at the moment: I have written down the directives and all the config-things: Here are the directives webmin created in /etc/apache2/sites-available/webmin.1372499999999888777656578.conf DocumentRoot /var/www/sites/my_testsite <Directory "/var/www/sites/my_testsite"> allow from all Options +Indexes </Directory> ServerName my_testsite.com ServerAlias www.my_testsite.com an update: i fixed this by adding directive ServerAlias domain.tld *.domain.tld i found this at the setup under Apache -> the Virtual Domain settings -> Networking and Addresses -> Alternate virtual server names FIELD. domain.tld *.domain.tld question: - is it very important to add server name initially and then webmin virtual host edit/delete, - i can imagine that if i do so, it does not updated the directive and subsequently the Server Name will be missing in it - so the question is: do i need to add the Server name and then Restarting apache in order to make it work? Servers -> Apache Webserver: Select your virtual Server -> Edit Directives and subsequently: Server Name: my_testsite.com Others -> Command Shell service apache2 restart i then opened the web address in browser. besides this: is it thinkable that the mixing with 'Any' with a specific port doesn't play nicely for some reason. so the question here is: should i try to run with the vhost settings to: Address: Any Port: Any Document Root: /var/www/sites/my_testsite Server Name: my_testsite.com and do not choose or select a specific port!? on a side note, should i do the setting of my sites to not allow directory indexing? look forward to hear from you yours dil_bert
  24. good evening dear php-freaks, hope you are all right. i am currently working on a parser that gets data via OSM Overpass API with PHP-SimpleXML. I am workin with the pretty new to the work with PHPSimpleXML so do not bear with me for askin newby questions. I am tryin to get data using Open Street Maps. I want to write a code that works with the endpoint of openstreetmap - and the given data is the starting point for further explorations. My tactic is as follows: I fetch data from the openstreetmap-endpoint 1. i run requests to the openstreetmap-endpoint- (see below) and i try three different APIs per request isn't that easy on ressources and 2. I don't know how to work with the results that i gather from the OpenStreetmap-Endpoint as of the first point: - workin on the endpoint of OSM-Overpass-API.... see my approach: <?php /** * OSM Overpass API with PHP SimpleXML / XPath * * PHP Version: 5.4 - Can be back-ported to 5.3 by using 5.3 Array-Syntax (not PHP 5.4's square brackets) */ // // 1.) Query an OSM Overpass API Endpoint // $query = 'node ["amenity"~".*"] (38.415938460513274,16.06338500976562,39.52205163048525,17.51220703125); out;'; $context = stream_context_create(['http' => [ 'method' => 'POST', 'header' => ['Content-Type: application/x-www-form-urlencoded'], 'content' => 'data=' . urlencode($query), ]]); # please do not stress this service, this example is for demonstration purposes only. $endpoint = 'http://overpass-api.de/api/interpreter'; libxml_set_streams_context($context); $start = microtime(true); $result = simplexml_load_file($endpoint); printf("Query returned %2\$d node(s) and took %1\$.5f seconds.\n\n", microtime(true) - $start, count($result->node)); // // 2.) Work with the XML Result // so far so good: with this i get a bunch of data..... I have data in a file retrieved from a API pull request at the openstreetmap data source that looks something like this: <?xml version="1.0" encoding="UTF-8"?> <osm version="0.6" generator="Osmosis SNAPSHOT-r26564" xapi:planetDate="2014-10-07T15:42:02Z" xmlns:xapi="http://jxapi.openstreetmap.org/"> <node id="251652819" version="6" timestamp="2013-10-19T14:03:10Z" uid="1198089" user="GeorgeKaplan" changeset="18434238" lat="48.8527413" lon="2.3333559"> <tag k="dispensing" v="yes"/> <tag k="website" v="http://www.pharmacie-paris-citypharma.fr/"/> <tag k="name" v="Pharmacie Citypharma in downtown paris"/> <tag k="amenity" v="pharmacy"/> </node> <node id="251774849" version="9" timestamp="2014-07-28T21:28:26Z" uid="92075" user="Art Penteur" changeset="24411346" lat="48.8468043" lon="2.3696423"> <tag k="phone" v="0143430996"/> <tag k="dispensing" v="yes"/> <tag k="name" v="Pharmacie de la Rapée in downtown paris"/> <tag k="amenity" v="pharmacy"/> <tag k="opening_hours" v="Mo-Fr 08:30-20:30; Sa 09:00-19:30"/> </node> <node id="263262912" version="3" timestamp="2014-07-28T21:37:24Z" uid="92075" user="Art Penteur" changeset="24411346" lat="48.8446917" lon="2.3101829"> <tag k="dispensing" v="yes"/> <tag k="amenity" v="pharmacy"/> </node> and so forth and so forth ....etc. what is aimed: I am trying to filter the records based on the attributes that i find in the dataset, basically i am trying to retrieve the records that do not have a <tag k="name" v="blahblahblah"/> field. I have been looking around and the classical way to do it its easy, however because of my poor skills in doing anything xml related i do have a couple of questions: Is it possible to apply xml filtering for tags that look like this <tag k="dispensing" v="yes"/> ones that do not have the <tag></tag> .....format. Also how can i filter the records when each child of the node has different attributes,like v, i would knew how to do it if it would look like this <tag k="name">Pharmacie in Paris-downtown - Rapée-metro-station</tag> but within this format received at this moment i cannot not see a way out on how to get the children that i need i have had a quick look at the PHP-SimpleXML and the XPath-approach: it may help me in achieving what is aimed. but at the moment - i think i got stuck. i greatly appreciated hints and some ideas that may fit her. have a great day. - yours dil_bert
  25. hi there requinix many thanks for the reply - sure thing - i have had a closer look at this. i try to clear this up. Your ideas were very convincing. i take them into consideration. greetings
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.